Remove circular macro definition

[root@8d279f4efad9 /]# rpm -q --specfile tito.spec
    error: Recursion depth(17) greater than max(16)

This problem seems to appear only on EL6, but either way
the macro definition makes no sense (at least to me).
This commit is contained in:
Jakub Kadlcik 2020-01-31 00:01:06 +01:00
parent 8afe478b97
commit a219896ba5

View file

@ -11,7 +11,6 @@
%global our_sitelib %{python2_sitelib}
%else
%global ourpythonbin %{__python}
%global our_sitelib %{our_sitelib}
%endif
%endif
%{!?our_sitelib: %define our_sitelib %(%{ourpythonbin} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}