[packages/libapparmor] - updated to 2.11.0 - removed obsolete import patch

qboosh qboosh at pld-linux.org
Sun Apr 2 08:01:52 CEST 2017


commit 978870543d011578b9b7e95b17c4f34fbba0512b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Apr 2 08:01:51 2017 +0200

    - updated to 2.11.0
    - removed obsolete import patch

 libapparmor-import.patch | 25 -------------------------
 libapparmor.spec         | 12 ++++++------
 2 files changed, 6 insertions(+), 31 deletions(-)
---
diff --git a/libapparmor.spec b/libapparmor.spec
index 6252945..41296cb 100644
--- a/libapparmor.spec
+++ b/libapparmor.spec
@@ -7,20 +7,20 @@
 Summary:	Library to provide key AppArmor symbols
 Summary(pl.UTF-8):	Biblioteka udostępniająca kluczowe symbole AppArmor
 Name:		libapparmor
-Version:	2.10.1
-Release:	3
+Version:	2.11.0
+Release:	1
 Epoch:		1
 License:	LGPL v2.1
 Group:		Libraries
-Source0:	http://launchpad.net/apparmor/2.10/%{version}/+download/apparmor-%{version}.tar.gz
-# Source0-md5:	c9d82e04d699b0530b12dec15136027d
+Source0:	http://launchpad.net/apparmor/2.11/2.11/+download/apparmor-%{version}.tar.gz
+# Source0-md5:	899fd834dc5c8ebf2d52b97e4a174af7
 Patch0:		%{name}-private.patch
-Patch1:		%{name}-import.patch
 URL:		http://wiki.apparmor.net/
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake >= 1.4
 BuildRequires:	bison
 BuildRequires:	flex
+BuildRequires:	gcc >= 5:3.2
 BuildRequires:	libtool
 BuildRequires:	perl-devel
 BuildRequires:	perl-tools-pod
@@ -148,7 +148,6 @@ Dowiązania do AppArmor dla języka Ruby.
 %prep
 %setup -q -n apparmor-%{version}
 %patch0 -p1
-%patch1 -p0
 
 %build
 cd libraries/libapparmor
@@ -202,6 +201,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man2/aa_find_mountpoint.2*
 %{_mandir}/man2/aa_getcon.2*
 %{_mandir}/man2/aa_query_label.2*
+%{_mandir}/man2/aa_stack_profile.2*
 %{_mandir}/man3/aa_features.3*
 %{_mandir}/man3/aa_kernel_interface.3*
 %{_mandir}/man3/aa_policy_cache.3*
diff --git a/libapparmor-import.patch b/libapparmor-import.patch
deleted file mode 100644
index 8a2dae7..0000000
--- a/libapparmor-import.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- libraries/libapparmor/swig/python/Makefile.am	2014-01-06 22:08:55 +0000
-+++ libraries/libapparmor/swig/python/Makefile.am	2016-11-14 22:10:35 +0000
-@@ -6,9 +6,8 @@
- 
- libapparmor_wrap.c: $(srcdir)/../SWIG/libapparmor.i
- 	$(SWIG) -python -I$(srcdir)/../../include -module LibAppArmor -o $@ $(srcdir)/../SWIG/libapparmor.i
--	mv LibAppArmor.py __init__.py
- 
--MOSTLYCLEANFILES=libapparmor_wrap.c __init__.py
-+MOSTLYCLEANFILES=libapparmor_wrap.c LibAppArmor.py
- 
- all-local: libapparmor_wrap.c setup.py
- 	if test ! -f libapparmor_wrap.c; then cp $(srcdir)/libapparmor_wrap.c . ; fi
-
-=== added file 'libraries/libapparmor/swig/python/__init__.py'
---- libraries/libapparmor/swig/python/__init__.py	1970-01-01 00:00:00 +0000
-+++ libraries/libapparmor/swig/python/__init__.py	2016-11-14 22:10:35 +0000
-@@ -0,0 +1,6 @@
-+import sys
-+
-+if sys.version_info[0] >= 3:
-+    from LibAppArmor.LibAppArmor import *
-+else:
-+    from .LibAppArmor import *
-
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libapparmor.git/commitdiff/978870543d011578b9b7e95b17c4f34fbba0512b



More information about the pld-cvs-commit mailing list