diff --git a/libcap-ng-check-proc-python.patch b/libcap-ng-check-proc-python.patch deleted file mode 100644 index b5adb7c..0000000 --- a/libcap-ng-check-proc-python.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -Nur libcap-ng-0.7.4/bindings/python/test/capng-test.py libcap-ng-0.7.4-2/bindings/python/test/capng-test.py ---- libcap-ng-0.7.4/bindings/python/test/capng-test.py 2014-04-24 08:41:44.000000000 -0400 -+++ libcap-ng-0.7.4-2/bindings/python/test/capng-test.py 2014-06-23 13:25:20.113624203 -0400 -@@ -8,7 +8,10 @@ - sys.path.insert(0, load_path) - - import capng -+ - last = capng.CAP_LAST_CAP -+with open('/proc/sys/kernel/cap_last_cap', 'r') as f: -+ last = int(f.readline()) - - print("Doing basic bit tests...") - capng.capng_clear(capng.CAPNG_SELECT_BOTH) diff --git a/libcap-ng.spec b/libcap-ng.spec index 7dffbd2..0f1f6ee 100644 --- a/libcap-ng.spec +++ b/libcap-ng.spec @@ -8,7 +8,6 @@ License: LGPLv2+ Group: System Environment/Libraries URL: http://people.redhat.com/sgrubb/libcap-ng Source0: http://people.redhat.com/sgrubb/libcap-ng/%{name}-%{version}.tar.gz -Patch0: libcap-ng-check-proc-python.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: kernel-headers >= 2.6.11 @@ -51,7 +50,6 @@ lets you set the file system based capabilities. %prep %setup -q -%patch0 -p1 -b .proc~ %build %configure --libdir=/%{_lib}