rpms/python-docutils/devel python-docutils.spec,1.17,1.18

Toshio くらとみ toshio at fedoraproject.org
Thu Jan 28 04:10:32 UTC 2010


Author: toshio

Update of /cvs/pkgs/rpms/python-docutils/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11118

Modified Files:
	python-docutils.spec 
Log Message:
Stylistic cleanup of %define and conditional to remind that we don't need to carry the python_sitelib define forever.



Index: python-docutils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-docutils/devel/python-docutils.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -p -r1.17 -r1.18
--- python-docutils.spec	19 Jan 2010 22:06:21 -0000	1.17
+++ python-docutils.spec	28 Jan 2010 04:10:32 -0000	1.18
@@ -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



More information about the scm-commits mailing list