Break out python3 code into separate package

This commit is contained in:
Dan Walsh 2013-12-13 08:48:16 -05:00
parent 5c1fb32c8b
commit 576b3e8a80
2 changed files with 2286 additions and 67 deletions

File diff suppressed because it is too large Load Diff

View File

@ -7,7 +7,7 @@
Summary: SELinux policy core utilities Summary: SELinux policy core utilities
Name: policycoreutils Name: policycoreutils
Version: 2.2.4 Version: 2.2.4
Release: 1%{?dist} Release: 3%{?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
@ -101,6 +101,38 @@ rm -f %{buildroot}%{_datadir}/system-config-selinux/system-config-selinux.deskto
%find_lang %{name} %find_lang %{name}
%package python3
Summary: SELinux policy core python3 interfaces
Group: System Environment/Base
Requires:policycoreutils = %{version}-%{release}
Requires:libsemanage-python3 >= %{libsemanagever} libselinux-python3 libcgroup
Requires:audit-libs-python3 >= %{libauditver}
%description python3
The policycoreutils-python3 package contains the interfaces that can be used
by python 3 in an SELinux environment.
%files python3
%dir %{python3_sitelib}/seobject
%{python3_sitelib}/seobject/__init__.py*
%{python3_sitelib}/seobject/__pycache__/*
%{python3_sitelib}/seobject*.egg-info
%dir %{python3_sitearch}/sepolicy
%{python3_sitearch}/sepolicy/*so
%{python3_sitearch}/sepolicy/templates
%dir %{python3_sitearch}/sepolicy/help
%{python3_sitearch}/sepolicy/help/*
%{python3_sitearch}/sepolicy/__init__.py*
%{python3_sitearch}/sepolicy/booleans.py*
%{python3_sitearch}/sepolicy/communicate.py*
%{python3_sitearch}/sepolicy/interface.py*
%{python3_sitearch}/sepolicy/manpage.py*
%{python3_sitearch}/sepolicy/network.py*
%{python3_sitearch}/sepolicy/transition.py*
%{python3_sitearch}/sepolicy/sedbus.py*
%{python3_sitearch}/sepolicy*.egg-info
%{python3_sitearch}/sepolicy/__pycache__/*
%package python %package python
Summary: SELinux policy core python utilities Summary: SELinux policy core python utilities
Group: System Environment/Base Group: System Environment/Base
@ -153,25 +185,6 @@ an SELinux environment.
%{_mandir}/ru/man8/semanage.8* %{_mandir}/ru/man8/semanage.8*
%{_datadir}/bash-completion/completions/semanage %{_datadir}/bash-completion/completions/semanage
%{_datadir}/bash-completion/completions/setsebool %{_datadir}/bash-completion/completions/setsebool
%dir %{python3_sitelib}/seobject
%{python3_sitelib}/seobject/__init__.py*
%{python3_sitelib}/seobject/__pycache__/*
%{python3_sitelib}/seobject*.egg-info
%dir %{python3_sitearch}/sepolicy
%{python3_sitearch}/sepolicy/*so
%{python3_sitearch}/sepolicy/templates
%dir %{python3_sitearch}/sepolicy/help
%{python3_sitearch}/sepolicy/help/*
%{python3_sitearch}/sepolicy/__init__.py*
%{python3_sitearch}/sepolicy/booleans.py*
%{python3_sitearch}/sepolicy/communicate.py*
%{python3_sitearch}/sepolicy/interface.py*
%{python3_sitearch}/sepolicy/manpage.py*
%{python3_sitearch}/sepolicy/network.py*
%{python3_sitearch}/sepolicy/transition.py*
%{python3_sitearch}/sepolicy/sedbus.py*
%{python3_sitearch}/sepolicy*.egg-info
%{python3_sitearch}/sepolicy/__pycache__/*
%package devel %package devel
Summary: SELinux policy core policy devel utilities Summary: SELinux policy core policy devel utilities
@ -370,6 +383,13 @@ The policycoreutils-restorecond package contains the restorecond service.
%systemd_postun_with_restart restorecond.service %systemd_postun_with_restart restorecond.service
%changelog %changelog
* Fri Dec 13 2013 Dan Walsh <dwalsh@redhat.com> - 2.2.4-3
- Break out python3 code into separate package
* Fri Dec 6 2013 Dan Walsh <dwalsh@redhat.com> - 2.2.4-2
- Add mgrepl patch
- ptrace should be a part of deny_ptrace boolean in TEMPLATETYPE_admin
* Tue Dec 3 2013 Dan Walsh <dwalsh@redhat.com> - 2.2.4-1 * Tue Dec 3 2013 Dan Walsh <dwalsh@redhat.com> - 2.2.4-1
- Update to upstream - Update to upstream
* Revert automatic setting of serange and seuser in seobject; was breaking non-MLS systems. * Revert automatic setting of serange and seuser in seobject; was breaking non-MLS systems.