Python 2 binary package renamed to python2-libcap-ng

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:38:33 -04:00
parent b01d48be81
commit 97f2894f13

View File

@ -3,7 +3,7 @@
Summary: An alternate posix capabilities library
Name: libcap-ng
Version: 0.7.8
Release: 5%{?dist}
Release: 6%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
URL: http://people.redhat.com/sgrubb/libcap-ng
@ -26,14 +26,18 @@ Requires: pkgconfig
The libcap-ng-devel package contains the files needed for developing
applications that need to use the libcap-ng library.
%package python
%package -n python2-libcap-ng
%{?python_provide:%python_provide python2-libcap-ng}
# Remove before F30
Provides: %{name}-python%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-python < %{version}-%{release}
Summary: Python bindings for libcap-ng library
License: LGPLv2+
Group: Development/Libraries
BuildRequires: python-devel swig
Requires: %{name} = %{version}-%{release}
%description python
%description -n python2-libcap-ng
The libcap-ng-python package contains the bindings so that libcap-ng
and can be used by python applications.
@ -111,7 +115,7 @@ rm -rf $RPM_BUILD_ROOT
%attr(0644,root,root) %{_datadir}/aclocal/cap-ng.m4
%{_libdir}/pkgconfig/libcap-ng.pc
%files python
%files -n python2-libcap-ng
%defattr(-,root,root,-)
%attr(755,root,root) %{python2_sitearch}/_capng.so
%{python_sitearch}/capng.py*
@ -129,6 +133,10 @@ rm -rf $RPM_BUILD_ROOT
%attr(0644,root,root) %{_mandir}/man8/*
%changelog
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.7.8-6
- Python 2 binary package renamed to python2-libcap-ng
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.8-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild