rpms/policycoreutils/devel policycoreutils-rhat.patch, 1.399, 1.400 policycoreutils.spec, 1.568, 1.569

Daniel J Walsh dwalsh at fedoraproject.org
Thu Oct 30 18:24:02 UTC 2008


Author: dwalsh

Update of /cvs/extras/rpms/policycoreutils/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12323

Modified Files:
	policycoreutils-rhat.patch policycoreutils.spec 
Log Message:
* Thu Oct 30 2008 Dan Walsh <dwalsh at redhat.com> 2.0.57-10
- Fix traceback in audit2why


policycoreutils-rhat.patch:

Index: policycoreutils-rhat.patch
===================================================================
RCS file: /cvs/extras/rpms/policycoreutils/devel/policycoreutils-rhat.patch,v
retrieving revision 1.399
retrieving revision 1.400
diff -u -r1.399 -r1.400
--- policycoreutils-rhat.patch	29 Oct 2008 13:46:43 -0000	1.399
+++ policycoreutils-rhat.patch	30 Oct 2008 18:23:59 -0000	1.400
@@ -7,6 +7,22 @@
  
  INOTIFYH = $(shell ls /usr/include/sys/inotify.h 2>/dev/null)
  
+diff --exclude-from=exclude --exclude=sepolgen-1.0.13 --exclude=gui --exclude=po -N -u -r nsapolicycoreutils/audit2allow/audit2allow policycoreutils-2.0.57/audit2allow/audit2allow
+--- nsapolicycoreutils/audit2allow/audit2allow	2008-08-28 09:34:24.000000000 -0400
++++ policycoreutils-2.0.57/audit2allow/audit2allow	2008-10-30 14:21:33.000000000 -0400
+@@ -287,7 +287,11 @@
+     def __output(self):
+         
+         if self.__options.audit2why:
+-            return self.__output_audit2why()
++            try:
++                return self.__output_audit2why()
++            except RuntimeError, e:
++                print e
++                sys.exit(1)
+ 
+         g = policygen.PolicyGenerator()
+ 
 diff --exclude-from=exclude --exclude=sepolgen-1.0.13 --exclude=gui --exclude=po -N -u -r nsapolicycoreutils/audit2allow/audit2allow.1 policycoreutils-2.0.57/audit2allow/audit2allow.1
 --- nsapolicycoreutils/audit2allow/audit2allow.1	2008-08-28 09:34:24.000000000 -0400
 +++ policycoreutils-2.0.57/audit2allow/audit2allow.1	2008-10-29 09:44:41.000000000 -0400


Index: policycoreutils.spec
===================================================================
RCS file: /cvs/extras/rpms/policycoreutils/devel/policycoreutils.spec,v
retrieving revision 1.568
retrieving revision 1.569
diff -u -r1.568 -r1.569
--- policycoreutils.spec	29 Oct 2008 17:02:32 -0000	1.568
+++ policycoreutils.spec	30 Oct 2008 18:24:02 -0000	1.569
@@ -6,7 +6,7 @@
 Summary: SELinux policy core utilities
 Name:	 policycoreutils
 Version: 2.0.57
-Release: 9%{?dist}
+Release: 10%{?dist}
 License: GPLv2+
 Group:	 System Environment/Base
 Source:	 http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz
@@ -193,6 +193,9 @@
 fi
 
 %changelog
+* Thu Oct 30 2008 Dan Walsh <dwalsh at redhat.com> 2.0.57-10
+- Fix traceback in audit2why
+
 * Wed Oct 29 2008 Dan Walsh <dwalsh at redhat.com> 2.0.57-9
 - Make GUI use translations
 




More information about the fedora-extras-commits mailing list