[policycoreutils/f17] +* Fri Jun 29 2012 Miroslav Grepl <mgrepl at redhat.com> - 2.1.11-19.1 +- Fix semanage and handling of

Miroslav Grepl mgrepl at fedoraproject.org
Fri Jun 29 10:58:07 UTC 2012


commit 849d1a0185af48fc4123efa1aee8c83468ad868f
Author: Miroslav Grepl <mgrepl at redhat.com>
Date:   Fri Jun 29 12:57:53 2012 +0200

    +* Fri Jun 29 2012 Miroslav Grepl <mgrepl at redhat.com> - 2.1.11-19.1
    +- Fix semanage and handling of reload variable

 policycoreutils-semanage.patch |   10 ++++++++++
 policycoreutils.spec           |    7 ++++++-
 2 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/policycoreutils-semanage.patch b/policycoreutils-semanage.patch
new file mode 100644
index 0000000..b128b19
--- /dev/null
+++ b/policycoreutils-semanage.patch
@@ -0,0 +1,10 @@
+--- policycoreutils-2.1.11/semanage/semanage.old	2012-06-29 11:33:54.832066426 +0200
++++ policycoreutils-2.1.11/semanage/semanage	2012-06-29 11:34:36.230067371 +0200
+@@ -199,6 +199,7 @@
+ 		seuser = ""
+ 		prefix = "user"
+ 		heading = True
++		global reload
+ 		reload = True
+ 		value = None
+ 		add = False
diff --git a/policycoreutils.spec b/policycoreutils.spec
index 296ef0d..714a96b 100644
--- a/policycoreutils.spec
+++ b/policycoreutils.spec
@@ -7,7 +7,7 @@
 Summary: SELinux policy core utilities
 Name:	 policycoreutils
 Version: 2.1.11
-Release: 19%{?dist}
+Release: 19.1%{?dist}
 License: GPLv2
 Group:	 System Environment/Base
 # Based on git repository with tag 20101221
@@ -24,6 +24,7 @@ Source8: policycoreutils_man_ru2.tar.bz2
 Source10: restorecond.service
 Patch:	 policycoreutils-rhat.patch
 Patch4:	 policycoreutils-sepolgen.patch
+Patch5:	 policycoreutils-semanage.patch
 Obsoletes: policycoreutils < 2.0.61-2
 Conflicts: filesystem < 3
 Provides: /sbin/fixfiles
@@ -65,6 +66,7 @@ context.
 %setup -q -a 1 
 %patch -p2 -b .rhat
 %patch4 -p2 -b .sepolgen -d sepolgen-%{sepolgenver}
+%patch5 -p1
 
 %build
 make LSPP_PRIV=y SBINDIR="%{_sbindir}" LIBDIR="%{_libdir}" CFLAGS="%{optflags} -fPIE" LDFLAGS="-pie -Wl,-z,relro" all 
@@ -340,6 +342,9 @@ fi
 %{_bindir}/systemctl try-restart restorecond.service >/dev/null 2>&1 || :
 
 %changelog
+* Fri Jun 29 2012 Miroslav Grepl <mgrepl at redhat.com> - 2.1.11-19.1
+- Fix semanage and handling of reload variable
+
 * Tue May 29 2012 Dan Walsh <dwalsh at redhat.com> - 2.1.11-19
 - Fixfiles needs to tell restorecon to ignore missing files
 - Update translations


More information about the scm-commits mailing list