mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-23 20:22:46 +00:00
packit: fixing the Fedora build failures
The %{?our_sitelib} seems weird right after the if-else tree, I'm a bit afraid of the order of macro evaluation. NB the 'print "foo"' used in the corresponding detection command is needed only useful in very old distributions. Closes: #437
This commit is contained in:
parent
5d3df407f9
commit
377527f316
1 changed files with 1 additions and 1 deletions
|
@ -11,9 +11,9 @@
|
||||||
%global our_sitelib %{python2_sitelib}
|
%global our_sitelib %{python2_sitelib}
|
||||||
%else
|
%else
|
||||||
%global ourpythonbin %{__python}
|
%global ourpythonbin %{__python}
|
||||||
|
%global our_sitelib %(%{ourpythonbin} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%{!?our_sitelib: %define our_sitelib %(%{ourpythonbin} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
||||||
|
|
||||||
Name: tito
|
Name: tito
|
||||||
Version: 0.6.22
|
Version: 0.6.22
|
||||||
|
|
Loading…
Add table
Reference in a new issue