New upstream release
This commit is contained in:
parent
35c32a616a
commit
ffaedf4dd0
@ -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)
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user