rpm: do not evaluate python lib path over 100 times
Do not evaluate python_sitearch every time it's used. Override definition in /usr/lib/rpm/macros.
This commit is contained in:
parent
a6c25b7604
commit
354cd7d994
@ -1,4 +1,4 @@
|
||||
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
|
||||
|
||||
%{!?version: %define version %(cat version)}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user