* 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 20:24:07 +00:00
parent 5b46cccaf5
commit ea51d58adb
1 changed files with 15 additions and 9 deletions

View File

@ -82,14 +82,14 @@ tar -jxf %{SOURCE8} -C %{buildroot}/
ln -sf consolehelper %{buildroot}%{_bindir}/system-config-selinux
ln -sf consolehelper %{buildroot}%{_bindir}/selinux-polgengui
desktop-file-install --vendor fedora \
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
--add-category Settings \
%{SOURCE3}
desktop-file-install --vendor fedora \
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
--add-category Settings \
%{SOURCE3}
desktop-file-install --vendor fedora \
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
%{SOURCE6}
desktop-file-install --vendor fedora \
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
%{SOURCE6}
%find_lang %{name}
%package python
@ -119,7 +119,11 @@ The policycoreutils-python package contains the management tools use to manage a
/var/lib/sepolgen/perm_map
%post python
[ -f /usr/share/selinux/devel/include/build.conf ] && /usr/bin/sepolgen-ifgen > /dev/null
[ -f /usr/share/selinux/devel/include/build.conf ] && /usr/bin/sepolgen-ifgen
exit 0
%triggerin python -- selinux-policy
[ -f /usr/share/selinux/devel/include/build.conf ] && /usr/bin/sepolgen-ifgen
exit 0
%package newrole
@ -132,6 +136,7 @@ RBAC/MLS policy machines require newrole as a way of changing the role
or level of a logged in user.
%files newrole
%defattr(-,root,root)
%attr(4755,root,root) %{_bindir}/newrole
%{_mandir}/man1/newrole.1.gz
@ -150,6 +155,7 @@ BuildRequires: desktop-file-utils
system-config-selinux is a utility for managing the SELinux environment
%files gui
%defattr(-,root,root)
%{_bindir}/system-config-selinux
%{_bindir}/selinux-polgengui
%{_datadir}/applications/fedora-system-config-selinux.desktop
@ -357,7 +363,7 @@ fi
* Ensure that setfiles -p output is newline terminated from Russell Coker.
* Fri Aug 1 2008 Dan Walsh <dwalsh@redhat.com> 2.0.53-3
- Allow semanage user to add group lists %groupname
- Allow semanage user to add group lists % groupname
* Tue Jul 29 2008 Dan Walsh <dwalsh@redhat.com> 2.0.53-2
- Fix help