* Thu Jan 22 2009 Dan Walsh <dwalsh@redhat.com> 2.0.61-5

- Move sepolgen-ifgen to post python
This commit is contained in:
Daniel J Walsh 2009-01-22 19:03:57 +00:00
parent 15ec5ed084
commit 5b46cccaf5

View File

@ -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 @@ Group: System Environment/Base
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 @@ The policycoreutils-python package contains the management tools use to manage a
%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 @@ fi
%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@redhat.com> 2.0.61-4
* Thu Jan 22 2009 Dan Walsh <dwalsh@redhat.com> 2.0.61-5
- Move sepolgen-ifgen to post python
* Wed Jan 21 2009 Dan Walsh <dwalsh@redhat.com> 2.0.61-4
- Fix Translations
* Tue Jan 20 2009 Dan Walsh <dwalsh@redhat.com> 2.0.61-3