diff --git a/policycoreutils-rhat.patch b/policycoreutils-rhat.patch index d88028b..576d50a 100644 --- a/policycoreutils-rhat.patch +++ b/policycoreutils-rhat.patch @@ -114,6 +114,27 @@ diff --exclude-from=exclude --exclude=sepolgen-1.0.8 --exclude=gui --exclude=po } free(scontext); close(fd); +diff --exclude-from=exclude --exclude=sepolgen-1.0.8 --exclude=gui --exclude=po -N -u -r nsapolicycoreutils/scripts/chcat policycoreutils-2.0.16/scripts/chcat +--- nsapolicycoreutils/scripts/chcat 2007-05-04 09:14:49.000000000 -0400 ++++ policycoreutils-2.0.16/scripts/chcat 2007-06-22 09:34:36.000000000 -0400 +@@ -77,7 +77,7 @@ + + if len(cats) > 0: + new_serange = "%s-%s:%s" % (serange[0], top[0], ",".join(cats)) +- else ++ else: + new_serange = "%s-%s" % (serange[0], top[0]) + + if add_ind: +@@ -155,7 +155,7 @@ + + if len(cats) > 0: + new_serange = "%s-%s:%s" % (serange[0], top[0], ",".join(cats)) +- else ++ else: + new_serange = "%s-%s" % (serange[0], top[0]) + + if add_ind: diff --exclude-from=exclude --exclude=sepolgen-1.0.8 --exclude=gui --exclude=po -N -u -r nsapolicycoreutils/scripts/genhomedircon policycoreutils-2.0.16/scripts/genhomedircon --- nsapolicycoreutils/scripts/genhomedircon 2007-05-04 09:14:49.000000000 -0400 +++ policycoreutils-2.0.16/scripts/genhomedircon 2007-06-13 09:13:09.000000000 -0400 diff --git a/policycoreutils.spec b/policycoreutils.spec index b523fa7..6795bdc 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -6,7 +6,7 @@ Summary: SELinux policy core utilities. Name: policycoreutils Version: 2.0.16 -Release: 7%{?dist} +Release: 8%{?dist} License: GPL Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz @@ -192,6 +192,9 @@ if [ "$1" -ge "1" ]; then fi %changelog +* Fri Jun 22 2007 Dan Walsh 2.0.16-8 +- Fix chcat else conditions + * Wed Jun 13 2007 Dan Walsh 2.0.16-7 - Update system-config-selinux gui