Move sepolicy to policycoreutils-devel pacage, since most of it is used for devel
- Apply Miroslav Grepl Patches for sepolicy -- Fix generate mutually groups option handling -- EUSER is used for existing policy -- customize options can be used together with admin_domain option -- Fix manpage.py to generate correct man pages for SELinux users -- Fix policy *.te file generated by customize+writepaths options -- Fix install script for confined_admin option
This commit is contained in:
parent
93ba232940
commit
96c084f7c3
File diff suppressed because it is too large
Load Diff
@ -7,7 +7,7 @@
|
|||||||
Summary: SELinux policy core utilities
|
Summary: SELinux policy core utilities
|
||||||
Name: policycoreutils
|
Name: policycoreutils
|
||||||
Version: 2.1.14
|
Version: 2.1.14
|
||||||
Release: 30%{?dist}
|
Release: 32%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
# Based on git repository with tag 20101221
|
# Based on git repository with tag 20101221
|
||||||
@ -114,7 +114,6 @@ an SELinux environment.
|
|||||||
%{_sbindir}/semanage
|
%{_sbindir}/semanage
|
||||||
%{_bindir}/chcat
|
%{_bindir}/chcat
|
||||||
%{_bindir}/sandbox
|
%{_bindir}/sandbox
|
||||||
%{_bindir}/sepolicy
|
|
||||||
%{python_sitearch}/seobject.py*
|
%{python_sitearch}/seobject.py*
|
||||||
%{python_sitearch}/sepolgen
|
%{python_sitearch}/sepolgen
|
||||||
%{python_sitearch}/sepolicy
|
%{python_sitearch}/sepolicy
|
||||||
@ -126,12 +125,9 @@ an SELinux environment.
|
|||||||
%{_mandir}/ru/man8/chcat.8*
|
%{_mandir}/ru/man8/chcat.8*
|
||||||
%{_mandir}/man8/sandbox.8*
|
%{_mandir}/man8/sandbox.8*
|
||||||
%{_mandir}/man8/semanage.8*
|
%{_mandir}/man8/semanage.8*
|
||||||
%{_mandir}/man8/sepolicy*.8*
|
|
||||||
%{_mandir}/man8/sepolgen.8*
|
|
||||||
%{_mandir}/ru/man8/semanage.8*
|
%{_mandir}/ru/man8/semanage.8*
|
||||||
%{_usr}/share/bash-completion/completions/semanage
|
%{_usr}/share/bash-completion/completions/semanage
|
||||||
%{_usr}/share/bash-completion/completions/setsebool
|
%{_usr}/share/bash-completion/completions/setsebool
|
||||||
%{_usr}/share/bash-completion/completions/sepolicy
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: SELinux policy core policy devel utilities
|
Summary: SELinux policy core policy devel utilities
|
||||||
@ -155,6 +151,10 @@ The policycoreutils-devel package contains the management tools use to develop p
|
|||||||
%{_mandir}/man1/audit2allow.1*
|
%{_mandir}/man1/audit2allow.1*
|
||||||
%{_mandir}/ru/man1/audit2allow.1*
|
%{_mandir}/ru/man1/audit2allow.1*
|
||||||
%{_mandir}/man1/audit2why.1*
|
%{_mandir}/man1/audit2why.1*
|
||||||
|
%{_bindir}/sepolicy
|
||||||
|
%{_mandir}/man8/sepolicy*.8*
|
||||||
|
%{_mandir}/man8/sepolgen.8*
|
||||||
|
%{_usr}/share/bash-completion/completions/sepolicy
|
||||||
|
|
||||||
%post devel
|
%post devel
|
||||||
selinuxenabled && [ -f /usr/share/selinux/devel/include/build.conf ] && /usr/bin/sepolgen-ifgen 2>/dev/null
|
selinuxenabled && [ -f /usr/share/selinux/devel/include/build.conf ] && /usr/bin/sepolgen-ifgen 2>/dev/null
|
||||||
@ -225,6 +225,17 @@ system-config-selinux is a utility for managing the SELinux environment
|
|||||||
%{_datadir}/system-config-selinux/*.py*
|
%{_datadir}/system-config-selinux/*.py*
|
||||||
%{_datadir}/system-config-selinux/*.glade
|
%{_datadir}/system-config-selinux/*.glade
|
||||||
|
|
||||||
|
%post gui
|
||||||
|
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
|
|
||||||
|
%postun gui
|
||||||
|
if [ $1 -eq 0 ] ; then
|
||||||
|
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
||||||
|
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
|
fi
|
||||||
|
|
||||||
|
%posttrans gui
|
||||||
|
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%{_sbindir}/restorecon
|
%{_sbindir}/restorecon
|
||||||
@ -310,7 +321,22 @@ The policycoreutils-restorecond package contains the restorecond service.
|
|||||||
%{_bindir}/systemctl try-restart restorecond.service >/dev/null 2>&1 || :
|
%{_bindir}/systemctl try-restart restorecond.service >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Mar 28 2013 Dan Walsh <dwalsh@redhat.com> - 2.1.14-29
|
* Wed Apr 3 2013 Dan Walsh <dwalsh@redhat.com> - 2.1.14-32
|
||||||
|
- Move sepolicy to policycoreutils-devel pacage, since most of it is used for devel
|
||||||
|
- Apply Miroslav Grepl Patches for sepolicy
|
||||||
|
-- Fix generate mutually groups option handling
|
||||||
|
-- EUSER is used for existing policy
|
||||||
|
-- customize options can be used together with admin_domain option
|
||||||
|
-- Fix manpage.py to generate correct man pages for SELinux users
|
||||||
|
-- Fix policy *.te file generated by customize+writepaths options
|
||||||
|
-- Fix install script for confined_admin option
|
||||||
|
|
||||||
|
* Mon Apr 1 2013 Dan Walsh <dwalsh@redhat.com> - 2.1.14-31
|
||||||
|
- Add post install scripts for gui to make sure Icon Cache is refreshed.
|
||||||
|
- Fix grammar issue in secon man page
|
||||||
|
- Update Translations
|
||||||
|
|
||||||
|
* Thu Mar 28 2013 Dan Walsh <dwalsh@redhat.com> - 2.1.14-30
|
||||||
- Add buildrequires for OpenBox to prevent me from accidently building into RHEL7
|
- Add buildrequires for OpenBox to prevent me from accidently building into RHEL7
|
||||||
- Add support for returning alias data to sepolicy.info python bindings
|
- Add support for returning alias data to sepolicy.info python bindings
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user