Stylistic cleanup of %define and conditional to remind that we don't need
to carry the python_sitelib define forever.
This commit is contained in:
parent
d3e618deb4
commit
e53fd838df
@ -1,6 +1,9 @@
|
|||||||
|
# Just a reminder to remove this when these conditions can no longer occur.
|
||||||
|
%if 0%{?fedora} <= 12 && 0%{?rhel} <= 5
|
||||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
|
%endif
|
||||||
|
|
||||||
%define srcname docutils
|
%global srcname docutils
|
||||||
|
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 0.6
|
Version: 0.6
|
||||||
|
Loading…
Reference in New Issue
Block a user