diff --git a/python-docutils.spec b/python-docutils.spec index 89d19c5..6da0e90 100644 --- a/python-docutils.spec +++ b/python-docutils.spec @@ -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