From 53a0edbbd46d41e6cefe62c78e69d7445e172fe2 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Feb 16 2009 14:23:19 +0000 Subject: * Mon Feb 16 2009 Dan Walsh 2.0.57-19 - Fix script created by polgengui to not refer to selinux-policy-devel --- diff --git a/policycoreutils-gui.patch b/policycoreutils-gui.patch index aea4442..378249c 100644 --- a/policycoreutils-gui.patch +++ b/policycoreutils-gui.patch @@ -12607,8 +12607,8 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/gui/templates/rw.py poli +""" diff --exclude-from=exclude -N -u -r nsapolicycoreutils/gui/templates/script.py policycoreutils-2.0.61/gui/templates/script.py --- nsapolicycoreutils/gui/templates/script.py 1969-12-31 19:00:00.000000000 -0500 -+++ policycoreutils-2.0.61/gui/templates/script.py 2009-01-20 09:49:03.000000000 -0500 -@@ -0,0 +1,105 @@ ++++ policycoreutils-2.0.61/gui/templates/script.py 2009-02-16 09:19:35.000000000 -0500 +@@ -0,0 +1,99 @@ +# Copyright (C) 2007 Red Hat +# see file 'COPYING' for use and warranty information +# @@ -12643,12 +12643,6 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/gui/templates/script.py +exit 1 +fi + -+if [ ! -f /usr/share/selinux/devel/Makefile ]; then -+echo 'selinux-policy-devel not installed, package required for building policy' -+echo '# yum install selinux-policy-devel' -+exit 1 -+fi -+ +if [ $# -eq 1 ]; then + if [ "$1" = "--update" ] ; then + time=`ls -l --time-style="+%x %X" TEMPLATEFILE.te | awk '{ printf "%s %s", $6, $7 }'` diff --git a/policycoreutils.spec b/policycoreutils.spec index cc4f515..bcbc7ed 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -6,7 +6,7 @@ Summary: SELinux policy core utilities Name: policycoreutils Version: 2.0.57 -Release: 18%{?dist} +Release: 19%{?dist} License: GPLv2+ 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 +* Mon Feb 16 2009 Dan Walsh 2.0.57-19 +- Fix script created by polgengui to not refer to selinux-policy-devel + * Mon Feb 9 2009 Dan Walsh 2.0.57-18 - Change initc scripts to use proper labeling on gui