From 97f2894f139e3a1dc553f75a89ddbcf7fc282634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 19 Aug 2017 09:38:33 -0400 Subject: [PATCH] Python 2 binary package renamed to python2-libcap-ng --- libcap-ng.spec | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/libcap-ng.spec b/libcap-ng.spec index d01be1f..0b0757b 100644 --- a/libcap-ng.spec +++ b/libcap-ng.spec @@ -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 - 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 - 0.7.8-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild