Add Provides for the old name without %_isa

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-20 10:35:40 -04:00
parent 97f2894f13
commit 9f33f82810

View File

@ -3,7 +3,7 @@
Summary: An alternate posix capabilities library
Name: libcap-ng
Version: 0.7.8
Release: 6%{?dist}
Release: 7%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
URL: http://people.redhat.com/sgrubb/libcap-ng
@ -29,6 +29,7 @@ applications that need to use the libcap-ng library.
%package -n python2-libcap-ng
%{?python_provide:%python_provide python2-libcap-ng}
# Remove before F30
Provides: %{name}-python = %{version}-%{release}
Provides: %{name}-python%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-python < %{version}-%{release}
Summary: Python bindings for libcap-ng library
@ -133,6 +134,9 @@ rm -rf $RPM_BUILD_ROOT
%attr(0644,root,root) %{_mandir}/man8/*
%changelog
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.7.8-7
- Add Provides for the old name without %%_isa
* 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