From d40cc99c510f279618e48746066c9555d87c6e9a Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Dec 31 2007 19:24:10 +0000 Subject: * Mon Dec 31 2007 Dan Walsh 2.0.34-5 - Fix roles output when creating a module --- diff --git a/policycoreutils-rhat.patch b/policycoreutils-rhat.patch index dec2a99..c96466e 100644 --- a/policycoreutils-rhat.patch +++ b/policycoreutils-rhat.patch @@ -1,6 +1,6 @@ diff --exclude-from=exclude --exclude=sepolgen-1.0.10 --exclude=gui --exclude=po -N -u -r nsapolicycoreutils/audit2allow/audit2allow policycoreutils-2.0.34/audit2allow/audit2allow --- nsapolicycoreutils/audit2allow/audit2allow 2007-07-16 14:20:41.000000000 -0400 -+++ policycoreutils-2.0.34/audit2allow/audit2allow 2007-12-21 01:59:57.000000000 -0500 ++++ policycoreutils-2.0.34/audit2allow/audit2allow 2007-12-31 14:22:40.000000000 -0500 @@ -60,7 +60,9 @@ parser.add_option("-o", "--output", dest="output", help="append output to , conflicts with -M") @@ -29,11 +29,11 @@ diff --exclude-from=exclude --exclude=sepolgen-1.0.10 --exclude=gui --exclude=po fd = sys.stdout writer.write(g.get_module(), fd) -+ if len(self.__selinux_errs) > 0: -+ fd.write("\n=========== ROLES ===============\n") ++ if len(self.__selinux_errs) > 0: ++ fd.write("\n=========== ROLES ===============\n") + -+ for role in self.__selinux_errs: -+ fd.write(role.output()) ++ for role in self.__selinux_errs: ++ fd.write(role.output()) + def main(self): try: diff --git a/policycoreutils.spec b/policycoreutils.spec index d695409..0654871 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -6,7 +6,7 @@ Summary: SELinux policy core utilities Name: policycoreutils Version: 2.0.34 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2+ Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz @@ -193,6 +193,9 @@ if [ "$1" -ge "1" ]; then fi %changelog +* Mon Dec 31 2007 Dan Walsh 2.0.34-5 +- Fix roles output when creating a module + * Mon Dec 31 2007 Dan Walsh 2.0.34-4 - Handle files with spaces in fixfiles