git://git.onelab.eu
/
pcucontrol.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f60bc62
)
fixes in the specfile for f31 that has python3 as its unqualified python
master
author
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Thu, 28 Nov 2019 10:44:41 +0000
(11:44 +0100)
committer
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Thu, 28 Nov 2019 10:44:41 +0000
(11:44 +0100)
pcucontrol.spec
patch
|
blob
|
history
diff --git
a/pcucontrol.spec
b/pcucontrol.spec
index
42263fd
..
d031973
100644
(file)
--- a/
pcucontrol.spec
+++ b/
pcucontrol.spec
@@
-3,7
+3,11
@@
%define taglevel 14
%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
%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}
Name: %{name}
Version: %{version}
@@
-20,7
+24,7
@@
URL: %{SCMURL}
Requires: python
Requires: OpenIPMI-tools
Requires: python
Requires: OpenIPMI-tools
-Obsoletes: monitor-pcucontrol
+
#
Obsoletes: monitor-pcucontrol
Summary: pcu controls for monitor and plcapi
Group: Applications/System
Summary: pcu controls for monitor and plcapi
Group: Applications/System