diff --git a/libpfm.spec b/libpfm.spec index 71a3c76..f612f58 100644 --- a/libpfm.spec +++ b/libpfm.spec @@ -3,14 +3,14 @@ %define python_sitearch %(python3 -c "from distutils.sysconfig import get_python_lib; print (get_python_lib(1))") %define python_prefix %(python3 -c "import sys; print (sys.prefix)") %{?filter_setup: -%filter_provides_in %{python_sitearch}/perfmon/.*\.so$ +%filter_provides_in %{python2_sitearch}/perfmon/.*\.so$ %filter_setup } %endif Name: libpfm Version: 4.10.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Library to encode performance events for use by perf tool @@ -114,10 +114,14 @@ make \ %if %{with python} %files -n python3-libpfm -%{python_sitearch}/* +%{python2_sitearch}/* %endif %changelog +* Tue Jul 17 2018 Miro HronĨok - 4.10.1-5 +- Update Python macros to new packaging standards + (See https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package) + * Sun Jul 15 2018 William Cohen - 4.10.1-4 - Add gcc Buildrequires.