diff --git a/tuned.spec b/tuned.spec index cb25f40..b72fbd0 100644 --- a/tuned.spec +++ b/tuned.spec @@ -21,6 +21,7 @@ %if %{with python3} %global _py python3 %else +%{!?python2_sitelib:%global python2_sitelib %{python_sitelib}} %if 0%{?rhel} && 0%{?rhel} < 8 %global _py python %else