From 393b4b06e6836124ac862974ec5a17a56653854b Mon Sep 17 00:00:00 2001 From: William Cohen Date: Tue, 24 Jul 2018 11:41:08 -0400 Subject: [PATCH] Should be using python3 macros. --- libpfm.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libpfm.spec b/libpfm.spec index f612f58..746fc6a 100644 --- a/libpfm.spec +++ b/libpfm.spec @@ -3,7 +3,7 @@ %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 %{python2_sitearch}/perfmon/.*\.so$ +%filter_provides_in %{python3_sitearch}/perfmon/.*\.so$ %filter_setup } %endif @@ -114,7 +114,7 @@ make \ %if %{with python} %files -n python3-libpfm -%{python2_sitearch}/* +%{python3_sitearch}/* %endif %changelog