X-Git-Url: http://git.onelab.eu/?p=pcucontrol.git;a=blobdiff_plain;f=pcucontrol.spec;fp=pcucontrol.spec;h=d031973ff7fba3fe74fbf5d7958db18c7ce35118;hp=42263fd0d987c54ce83b06175173d4d0d9be0870;hb=4a4d61ab5cfd787cd30a9d2c9a8506cef08aee63;hpb=f60bc6208846ab5ed02e85645bcf424d12a4356b diff --git a/pcucontrol.spec b/pcucontrol.spec index 42263fd..d031973 100644 --- a/pcucontrol.spec +++ b/pcucontrol.spec @@ -3,7 +3,11 @@ %define taglevel 14 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} -%global python_sitearch %( python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)" ) +%global python_sitearch %( python2 -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)" ) + +# Turn off the brp-python-bytecompile automagic +# this is required for fedora31 that has moved to python3 as a default +%global _python_bytecompile_extra 0 Name: %{name} Version: %{version} @@ -20,7 +24,7 @@ URL: %{SCMURL} Requires: python Requires: OpenIPMI-tools -Obsoletes: monitor-pcucontrol +#Obsoletes: monitor-pcucontrol Summary: pcu controls for monitor and plcapi Group: Applications/System