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:
Toshio くらとみ 2010-01-28 04:10:32 +00:00
parent d3e618deb4
commit e53fd838df

View File

@ -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()")}
%endif
%define srcname docutils
%global srcname docutils
Name: python-%{srcname}
Version: 0.6