Add Provides for the old name without %_isa

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-20 10:36:50 -04:00
parent 557d7065fb
commit f7b910a282

View File

@ -10,7 +10,7 @@
Name: libpfm
Version: 4.8.0
Release: 7%{?dist}
Release: 8%{?dist}
Summary: Library to encode performance events for use by perf tool
@ -53,6 +53,7 @@ applications for the perf_events interface.
%package -n python2-libpfm
%{?python_provide:%python_provide python2-libpfm}
# Remove before F30
Provides: %{name}-python = %{version}-%{release}
Provides: %{name}-python%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-python < %{version}-%{release}
Summary: Python bindings for libpfm and perf_event_open system call
@ -112,6 +113,9 @@ make \
%endif
%changelog
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 4.8.0-8
- Add Provides for the old name without %%_isa
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 4.8.0-7
- Python 2 binary package renamed to python2-libpfm
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3