From e53fd838df4b2fb038755a422ee8899823f97ba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toshio=20=E3=81=8F=E3=82=89=E3=81=A8=E3=81=BF?= Date: Thu, 28 Jan 2010 04:10:32 +0000 Subject: [PATCH] Stylistic cleanup of %define and conditional to remind that we don't need to carry the python_sitelib define forever. --- python-docutils.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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