rpms/policycoreutils/devel policycoreutils.spec,1.586,1.587
Daniel J Walsh
dwalsh at fedoraproject.org
Thu Jan 22 19:04:28 UTC 2009
- Previous message (by thread): rpms/scala/devel .cvsignore, 1.5, 1.6 scala-buildfile.patch, 1.2, 1.3 scala.spec, 1.5, 1.6 sources, 1.5, 1.6
- Next message (by thread): rpms/php-pear-XML-Parser/devel .cvsignore, 1.5, 1.6 php-pear-XML-Parser.spec, 1.6, 1.7 sources, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: dwalsh
Update of /cvs/extras/rpms/policycoreutils/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8874
Modified Files:
policycoreutils.spec
Log Message:
* Thu Jan 22 2009 Dan Walsh <dwalsh at redhat.com> 2.0.61-5
- Move sepolgen-ifgen to post python
Index: policycoreutils.spec
===================================================================
RCS file: /cvs/extras/rpms/policycoreutils/devel/policycoreutils.spec,v
retrieving revision 1.586
retrieving revision 1.587
diff -u -r1.586 -r1.587
--- policycoreutils.spec 21 Jan 2009 22:16:06 -0000 1.586
+++ policycoreutils.spec 22 Jan 2009 19:03:57 -0000 1.587
@@ -6,7 +6,7 @@
Summary: SELinux policy core utilities
Name: policycoreutils
Version: 2.0.61
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPLv2+
Group: System Environment/Base
Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz
@@ -98,7 +98,8 @@
Requires: policycoreutils = %{version}-%{release}
Requires: libsemanage-python >= %{libsemanagever} libselinux-python
Requires: audit-libs-python >= %{libauditver}
-Requires: python >= 2.6 /usr/bin/make
+Requires: /usr/bin/make
+Requires(pre): python >= 2.6
%description python
The policycoreutils-python package contains the management tools use to manage an SELinux environment.
@@ -117,6 +118,10 @@
%dir /var/lib/selinux
/var/lib/sepolgen/perm_map
+%post python
+[ -f /usr/share/selinux/devel/include/build.conf ] && /usr/bin/sepolgen-ifgen > /dev/null
+exit 0
+
%package newrole
Summary: The newrole application for RBAC/MLS
Group: System Environment/Base
@@ -197,16 +202,21 @@
%post
/sbin/chkconfig --add restorecond
-[ -f /usr/share/selinux/devel/include/build.conf ] && /usr/bin/sepolgen-ifgen > /dev/null
exit 0
%postun
if [ "$1" -ge "1" ]; then
[ -x /sbin/service ] && /sbin/service restorecond condrestart > /dev/null
+else
+ [ -x /sbin/service ] && /sbin/service restorecond stop > /dev/null
+ /sbin/chkconfig --del restorecond
fi
%changelog
-* Tue Jan 21 2009 Dan Walsh <dwalsh at redhat.com> 2.0.61-4
+* Thu Jan 22 2009 Dan Walsh <dwalsh at redhat.com> 2.0.61-5
+- Move sepolgen-ifgen to post python
+
+* Wed Jan 21 2009 Dan Walsh <dwalsh at redhat.com> 2.0.61-4
- Fix Translations
* Tue Jan 20 2009 Dan Walsh <dwalsh at redhat.com> 2.0.61-3
- Previous message (by thread): rpms/scala/devel .cvsignore, 1.5, 1.6 scala-buildfile.patch, 1.2, 1.3 scala.spec, 1.5, 1.6 sources, 1.5, 1.6
- Next message (by thread): rpms/php-pear-XML-Parser/devel .cvsignore, 1.5, 1.6 php-pear-XML-Parser.spec, 1.6, 1.7 sources, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list