Don't hardcode prefix
This commit is contained in:
parent
893a9f4add
commit
1715885c41
@ -13,7 +13,7 @@
|
||||
%else
|
||||
%global python_prefix python
|
||||
%global python_interpreter %{?__python2}%{!?__python2:dummy}
|
||||
%global python_sitelib /usr/lib/python2.7/site-packages
|
||||
%global python_sitelib %{_prefix}/lib/python2.7/site-packages
|
||||
%global rpmmacrodir /etc/rpm
|
||||
# Turn off the brp-python-bytecompile script
|
||||
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
|
||||
|
Loading…
Reference in New Issue
Block a user