Python 2 binary package renamed to python2-libsemanage
This commit is contained in:
parent
0b7304dd79
commit
d47f691a28
@ -7,7 +7,7 @@
|
|||||||
Summary: SELinux binary policy manipulation library
|
Summary: SELinux binary policy manipulation library
|
||||||
Name: libsemanage
|
Name: libsemanage
|
||||||
Version: 2.7
|
Version: 2.7
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Source: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20170804/libsemanage-2.7.tar.gz
|
Source: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20170804/libsemanage-2.7.tar.gz
|
||||||
@ -64,12 +64,16 @@ Requires: %{name}%{?_isa} = %{version}-%{release} ustr
|
|||||||
The semanage-devel package contains the libraries and header files
|
The semanage-devel package contains the libraries and header files
|
||||||
needed for developing applications that manipulate binary policies.
|
needed for developing applications that manipulate binary policies.
|
||||||
|
|
||||||
%package python
|
%package -n python2-libsemanage
|
||||||
|
%{?python_provide:%python_provide python2-libsemanage}
|
||||||
|
# Remove before F30
|
||||||
|
Provides: %{name}-python%{?_isa} = %{version}-%{release}
|
||||||
|
Obsoletes: %{name}-python < %{version}-%{release}
|
||||||
Summary: semanage python bindings for libsemanage
|
Summary: semanage python bindings for libsemanage
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description python
|
%description -n python2-libsemanage
|
||||||
The libsemanage-python package contains the python bindings for developing
|
The libsemanage-python package contains the python bindings for developing
|
||||||
SELinux management applications.
|
SELinux management applications.
|
||||||
|
|
||||||
@ -180,7 +184,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_includedir}/semanage/*.h
|
%{_includedir}/semanage/*.h
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%files python
|
%files -n python2-libsemanage
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{python_sitearch}/_semanage.so
|
%{python_sitearch}/_semanage.so
|
||||||
%{python_sitearch}/semanage.py*
|
%{python_sitearch}/semanage.py*
|
||||||
@ -195,6 +199,10 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%endif # if with_python3
|
%endif # if with_python3
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.7-2
|
||||||
|
- Python 2 binary package renamed to python2-libsemanage
|
||||||
|
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
||||||
|
|
||||||
* 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
|
||||||
- Use 'sefcontext_compile -r' when it's run during SELinux policy build
|
- Use 'sefcontext_compile -r' when it's run during SELinux policy build
|
||||||
|
Loading…
Reference in New Issue
Block a user