* Thu Jan 22 2009 Dan Walsh <dwalsh@redhat.com> 2.0.61-5
- Move sepolgen-ifgen to post python
This commit is contained in:
parent
5b46cccaf5
commit
ea51d58adb
@ -82,14 +82,14 @@ tar -jxf %{SOURCE8} -C %{buildroot}/
|
|||||||
ln -sf consolehelper %{buildroot}%{_bindir}/system-config-selinux
|
ln -sf consolehelper %{buildroot}%{_bindir}/system-config-selinux
|
||||||
ln -sf consolehelper %{buildroot}%{_bindir}/selinux-polgengui
|
ln -sf consolehelper %{buildroot}%{_bindir}/selinux-polgengui
|
||||||
|
|
||||||
desktop-file-install --vendor fedora \
|
desktop-file-install --vendor fedora \
|
||||||
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
|
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
|
||||||
--add-category Settings \
|
--add-category Settings \
|
||||||
%{SOURCE3}
|
%{SOURCE3}
|
||||||
|
|
||||||
desktop-file-install --vendor fedora \
|
desktop-file-install --vendor fedora \
|
||||||
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
|
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
|
||||||
%{SOURCE6}
|
%{SOURCE6}
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
%package python
|
%package python
|
||||||
@ -119,7 +119,11 @@ The policycoreutils-python package contains the management tools use to manage a
|
|||||||
/var/lib/sepolgen/perm_map
|
/var/lib/sepolgen/perm_map
|
||||||
|
|
||||||
%post python
|
%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
|
exit 0
|
||||||
|
|
||||||
%package newrole
|
%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.
|
or level of a logged in user.
|
||||||
|
|
||||||
%files newrole
|
%files newrole
|
||||||
|
%defattr(-,root,root)
|
||||||
%attr(4755,root,root) %{_bindir}/newrole
|
%attr(4755,root,root) %{_bindir}/newrole
|
||||||
%{_mandir}/man1/newrole.1.gz
|
%{_mandir}/man1/newrole.1.gz
|
||||||
|
|
||||||
@ -150,6 +155,7 @@ BuildRequires: desktop-file-utils
|
|||||||
system-config-selinux is a utility for managing the SELinux environment
|
system-config-selinux is a utility for managing the SELinux environment
|
||||||
|
|
||||||
%files gui
|
%files gui
|
||||||
|
%defattr(-,root,root)
|
||||||
%{_bindir}/system-config-selinux
|
%{_bindir}/system-config-selinux
|
||||||
%{_bindir}/selinux-polgengui
|
%{_bindir}/selinux-polgengui
|
||||||
%{_datadir}/applications/fedora-system-config-selinux.desktop
|
%{_datadir}/applications/fedora-system-config-selinux.desktop
|
||||||
@ -357,7 +363,7 @@ fi
|
|||||||
* Ensure that setfiles -p output is newline terminated from Russell Coker.
|
* Ensure that setfiles -p output is newline terminated from Russell Coker.
|
||||||
|
|
||||||
* Fri Aug 1 2008 Dan Walsh <dwalsh@redhat.com> 2.0.53-3
|
* 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
|
* Tue Jul 29 2008 Dan Walsh <dwalsh@redhat.com> 2.0.53-2
|
||||||
- Fix help
|
- Fix help
|
||||||
|
Loading…
Reference in New Issue
Block a user