Don't hardcode prefix

This commit is contained in:
Mikolaj Izdebski 2019-08-20 14:22:04 +02:00
parent 893a9f4add
commit 1715885c41

View File

@ -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')