[packages/libcap-ng] - updated to 0.7.4
qboosh
qboosh at pld-linux.org
Tue May 20 21:02:04 CEST 2014
commit 9434d679497092116dd7f81e67782e3afc30b031
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue May 20 21:04:59 2014 +0200
- updated to 0.7.4
libcap-ng.spec | 7 +++++--
vserver.patch | 11 +----------
2 files changed, 6 insertions(+), 12 deletions(-)
---
diff --git a/libcap-ng.spec b/libcap-ng.spec
index 44913c1..b057322 100644
--- a/libcap-ng.spec
+++ b/libcap-ng.spec
@@ -5,12 +5,12 @@
Summary: Next Generation of POSIX capabilities library
Summary(pl.UTF-8): Biblioteka POSIX capabilities nowej generacji
Name: libcap-ng
-Version: 0.7.3
+Version: 0.7.4
Release: 1
License: LGPL v2.1+ (library), GPL v2+ (utilities)
Group: Libraries
Source0: http://people.redhat.com/sgrubb/libcap-ng/%{name}-%{version}.tar.gz
-# Source0-md5: 610afb774f80a8032b711281df126283
+# Source0-md5: 55c57c0673b944ea1a755bcb2636dabd
Patch0: vserver.patch
URL: http://people.redhat.com/sgrubb/libcap-ng/
BuildRequires: attr-devel
@@ -93,6 +93,9 @@ Pythonowy interfejs do biblioteki libcap-ng.
%setup -q
%patch0 -p1
+# force regeneration after captab.h change in vserver patch
+%{__rm} bindings/python/capng.py
+
%build
%configure
%{__make}
diff --git a/vserver.patch b/vserver.patch
index 930e89d..b53e637 100644
--- a/vserver.patch
+++ b/vserver.patch
@@ -1,13 +1,3 @@
---- libcap-ng-0.7.3/bindings/python/capng.py.orig 2012-11-13 18:32:09.065661802 +0100
-+++ libcap-ng-0.7.3/bindings/python/capng.py 2012-11-13 18:33:45.622324417 +0100
-@@ -105,6 +105,7 @@
- CAP_WAKE_ALARM = _capng.CAP_WAKE_ALARM
- CAP_BLOCK_SUSPEND = _capng.CAP_BLOCK_SUSPEND
- CAP_COMPROMISE_KERNEL = _capng.CAP_COMPROMISE_KERNEL
-+CAP_CONTEXT = _capng.CAP_CONTEXT
- CAP_LAST_CAP = _capng.CAP_LAST_CAP
- CAPNG_DROP = _capng.CAPNG_DROP
- CAPNG_ADD = _capng.CAPNG_ADD
diff -upr libcap-ng-0.6.3./src/captab.h libcap-ng-0.6.3/src/captab.h
--- libcap-ng-0.6.3./src/captab.h 2009-03-16 18:12:32.000000000 +0100
+++ libcap-ng-0.6.3/src/captab.h 2010-04-11 20:14:16.641332609 +0200
@@ -19,3 +9,4 @@ diff -upr libcap-ng-0.6.3./src/captab.h libcap-ng-0.6.3/src/captab.h
+_S(CAP_CONTEXT, "context" )
+#endif
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libcap-ng.git/commitdiff/9434d679497092116dd7f81e67782e3afc30b031
More information about the pld-cvs-commit
mailing list