Split out python package
This commit is contained in:
parent
f689b5c1ff
commit
b9ee74bd7b
@ -25,8 +25,8 @@ Patch3: policycoreutils-gui.patch
|
|||||||
Patch4: policycoreutils-sepolgen.patch
|
Patch4: policycoreutils-sepolgen.patch
|
||||||
|
|
||||||
BuildRequires: pam-devel libsepol-static >= %{libsepolver} libsemanage-devel >= %{libsemanagever} libselinux-devel >= %{libselinuxver} libcap-devel audit-libs-devel >= %{libauditver} gettext
|
BuildRequires: pam-devel libsepol-static >= %{libsepolver} libsemanage-devel >= %{libsemanagever} libselinux-devel >= %{libselinuxver} libcap-devel audit-libs-devel >= %{libauditver} gettext
|
||||||
Requires: /bin/mount /bin/egrep /bin/awk /usr/bin/diff rpm /bin/sed /usr/bin/make
|
Requires: /bin/mount /bin/egrep /bin/awk /usr/bin/diff rpm /bin/sed
|
||||||
Requires: libsepol >= %{libsepolver} libsemanage-python >= %{libsemanagever} coreutils audit-libs-python >= %{libauditver} checkpolicy libselinux-python libselinux-utils >= %{libselinuxver}
|
Requires: libsepol >= %{libsepolver} coreutils checkpolicy libselinux-utils >= %{libselinuxver}
|
||||||
Requires(post): /sbin/service /sbin/chkconfig
|
Requires(post): /sbin/service /sbin/chkconfig
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
@ -92,6 +92,31 @@ desktop-file-install --vendor fedora \
|
|||||||
%{SOURCE6}
|
%{SOURCE6}
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
|
%package python
|
||||||
|
Summary: SELinux policy core python utilities
|
||||||
|
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
|
||||||
|
|
||||||
|
%description python
|
||||||
|
The policycoreutils-python package contains the management tools use to manage an SELinux environment.
|
||||||
|
|
||||||
|
%files python
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_sbindir}/semanage
|
||||||
|
%{_bindir}/audit2allow
|
||||||
|
%{_bindir}/audit2why
|
||||||
|
%{_bindir}/chcat
|
||||||
|
%{_bindir}/sepolgen-ifgen
|
||||||
|
%{_libdir}/python?.?/site-packages/seobject.py*
|
||||||
|
%{_libdir}/python?.?/site-packages/sepolgen/*
|
||||||
|
%dir %{_libdir}/python?.?/site-packages/sepolgen
|
||||||
|
%dir /var/lib/sepolgen
|
||||||
|
%dir /var/lib/selinux
|
||||||
|
/var/lib/sepolgen/perm_map
|
||||||
|
|
||||||
%package newrole
|
%package newrole
|
||||||
Summary: The newrole application for RBAC/MLS
|
Summary: The newrole application for RBAC/MLS
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
@ -108,12 +133,12 @@ or level of a logged in user.
|
|||||||
%package gui
|
%package gui
|
||||||
Summary: SELinux configuration GUI
|
Summary: SELinux configuration GUI
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Requires: policycoreutils = %{version}-%{release}
|
Requires: policycoreutils-python = %{version}-%{release}
|
||||||
Requires: gnome-python2-gnome, pygtk2, pygtk2-libglade, gnome-python2-canvas
|
Requires: gnome-python2-gnome, pygtk2, pygtk2-libglade, gnome-python2-canvas
|
||||||
Requires: usermode-gtk
|
Requires: usermode-gtk
|
||||||
Requires: setools-console
|
Requires: setools-console
|
||||||
Requires: selinux-policy-devel
|
Requires: selinux-policy
|
||||||
Requires: python >= 2.4
|
Requires: python >= 2.6
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
|
|
||||||
%description gui
|
%description gui
|
||||||
@ -148,15 +173,10 @@ rm -rf %{buildroot}
|
|||||||
%{_sbindir}/restorecond
|
%{_sbindir}/restorecond
|
||||||
%{_sbindir}/setsebool
|
%{_sbindir}/setsebool
|
||||||
%{_sbindir}/semodule
|
%{_sbindir}/semodule
|
||||||
%{_sbindir}/semanage
|
|
||||||
%{_sbindir}/load_policy
|
%{_sbindir}/load_policy
|
||||||
%{_sbindir}/sestatus
|
%{_sbindir}/sestatus
|
||||||
%{_sbindir}/run_init
|
%{_sbindir}/run_init
|
||||||
%{_sbindir}/open_init_pty
|
%{_sbindir}/open_init_pty
|
||||||
%{_bindir}/sepolgen-ifgen
|
|
||||||
%{_bindir}/audit2allow
|
|
||||||
%{_bindir}/audit2why
|
|
||||||
%{_bindir}/chcat
|
|
||||||
%{_bindir}/secon
|
%{_bindir}/secon
|
||||||
%{_bindir}/semodule_deps
|
%{_bindir}/semodule_deps
|
||||||
%{_bindir}/semodule_expand
|
%{_bindir}/semodule_expand
|
||||||
@ -166,14 +186,8 @@ rm -rf %{buildroot}
|
|||||||
%config(noreplace) %{_sysconfdir}/pam.d/newrole
|
%config(noreplace) %{_sysconfdir}/pam.d/newrole
|
||||||
%config(noreplace) %{_sysconfdir}/pam.d/run_init
|
%config(noreplace) %{_sysconfdir}/pam.d/run_init
|
||||||
%config(noreplace) %{_sysconfdir}/sestatus.conf
|
%config(noreplace) %{_sysconfdir}/sestatus.conf
|
||||||
%{_libdir}/python?.?/site-packages/seobject.py*
|
|
||||||
%attr(755,root,root) /etc/rc.d/init.d/restorecond
|
%attr(755,root,root) /etc/rc.d/init.d/restorecond
|
||||||
%config(noreplace) /etc/selinux/restorecond.conf
|
%config(noreplace) /etc/selinux/restorecond.conf
|
||||||
%dir %{_libdir}/python?.?/site-packages/sepolgen
|
|
||||||
%{_libdir}/python?.?/site-packages/sepolgen/*
|
|
||||||
%dir /var/lib/sepolgen
|
|
||||||
%dir /var/lib/selinux
|
|
||||||
/var/lib/sepolgen/perm_map
|
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
@ -192,6 +206,9 @@ if [ "$1" -ge "1" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 14 2009 Dan Walsh <dwalsh@redhat.com> 2.0.61-2
|
||||||
|
- Split python into a separate package
|
||||||
|
|
||||||
* Tue Jan 13 2009 Dan Walsh <dwalsh@redhat.com> 2.0.61-1
|
* Tue Jan 13 2009 Dan Walsh <dwalsh@redhat.com> 2.0.61-1
|
||||||
- Update to upstream
|
- Update to upstream
|
||||||
* chcat: cut categories at arbitrary point (25) from Dan Walsh
|
* chcat: cut categories at arbitrary point (25) from Dan Walsh
|
||||||
|
Loading…
Reference in New Issue
Block a user