Python 3 binary package renamed to python3-libselinux
This commit is contained in:
parent
36400b895d
commit
7b100f12bd
@ -73,12 +73,16 @@ The libselinux-python package contains the python bindings for developing
|
|||||||
SELinux applications.
|
SELinux applications.
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
%package python3
|
%package -n python3-libselinux
|
||||||
Summary: SELinux python 3 bindings for libselinux
|
Summary: SELinux python 3 bindings for libselinux
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
%{?python_provide:%python_provide python3-libselinux}
|
||||||
|
# Remove before F30
|
||||||
|
Provides: %{name}-python3%{?_isa} = %{version}-%{release}
|
||||||
|
Obsoletes: %{name}-python3 < %{version}-%{release}
|
||||||
|
|
||||||
%description python3
|
%description -n python3-libselinux
|
||||||
The libselinux-python3 package contains python 3 bindings for developing
|
The libselinux-python3 package contains python 3 bindings for developing
|
||||||
SELinux applications.
|
SELinux applications.
|
||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
@ -255,7 +259,7 @@ rm -rf %{buildroot}
|
|||||||
%{python_sitearch}/selinux/*
|
%{python_sitearch}/selinux/*
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
%files python3
|
%files -n python3-libselinux
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%dir %{python3_sitearch}/selinux
|
%dir %{python3_sitearch}/selinux
|
||||||
%dir %{python3_sitearch}/selinux/__pycache__
|
%dir %{python3_sitearch}/selinux/__pycache__
|
||||||
@ -273,6 +277,7 @@ rm -rf %{buildroot}
|
|||||||
* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.7-2
|
* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.7-2
|
||||||
- Python 2 binary package renamed to python2-libselinux
|
- Python 2 binary package renamed to python2-libselinux
|
||||||
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
||||||
|
- Python 3 binary package renamed to python3-libselinux
|
||||||
|
|
||||||
* Mon Aug 07 2017 Petr Lautrbach <plautrba@redhat.com> - 2.7-1
|
* Mon Aug 07 2017 Petr Lautrbach <plautrba@redhat.com> - 2.7-1
|
||||||
- Update to upstream release 2017-08-04
|
- Update to upstream release 2017-08-04
|
||||||
|
Loading…
Reference in New Issue
Block a user