From 557d7065fbc47ed5dd9fe66e51c8f8da8d53a36e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 19 Aug 2017 09:38:38 -0400 Subject: [PATCH] Python 2 binary package renamed to python2-libpfm --- libpfm.spec | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/libpfm.spec b/libpfm.spec index 336648d..f35c721 100644 --- a/libpfm.spec +++ b/libpfm.spec @@ -10,7 +10,7 @@ Name: libpfm Version: 4.8.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Library to encode performance events for use by perf tool @@ -50,12 +50,16 @@ Static version of the libpfm library for performance monitoring applications for the perf_events interface. %if %{with python} -%package python +%package -n python2-libpfm +%{?python_provide:%python_provide python2-libpfm} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Python bindings for libpfm and perf_event_open system call Group: Development/Languages Requires: %{name}%{?_isa} = %{version}-%{release} -%description python +%description -n python2-libpfm Python bindings for libpfm4 and perf_event_open system call. %endif @@ -103,11 +107,15 @@ make \ %{_libdir}/lib*.a %if %{with python} -%files python +%files -n python2-libpfm %{python_sitearch}/* %endif %changelog +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 4.8.0-7 +- Python 2 binary package renamed to python2-libpfm + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 4.8.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild