%{python2_sitelib} is needed here

This commit is contained in:
Björn Esser 2013-10-02 16:53:58 +02:00
parent 0df0c98029
commit d4381cdca3

View File

@ -1,8 +1,8 @@
%if 0%{?fedora} || 0%{?rhel} >= 7 %if 0%{?fedora} || 0%{?rhel} >= 7
%global __python_sitearch %{python2_sitearch} %global __python_sitelib %{python2_sitelib}
%else %else
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%global __python_sitearch %{python_sitearch} %global __python_sitelib %{python_sitelib}
%{?__python2:%global __python2 %{__python}} %{?__python2:%global __python2 %{__python}}
%endif %endif