diff --git libpfm/libpfm.spec libpfm/libpfm.spec.tmp index 336648d8c4..31ab7ffc69 100644 --- libpfm/libpfm.spec +++ libpfm/libpfm.spec.tmp @@ -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 +* Thu Aug 10 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