SPECS: python-cheetah.spec - add Patch0 to use setuptools (needed ...

radzio radzio at pld-linux.org
Sun Apr 16 21:16:40 CEST 2006


Author: radzio                       Date: Sun Apr 16 19:16:40 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add Patch0 to use setuptools (needed by python-PasteScript.spec)

---- Files affected:
SPECS:
   python-cheetah.spec (1.26 -> 1.27) 

---- Diffs:

================================================================
Index: SPECS/python-cheetah.spec
diff -u SPECS/python-cheetah.spec:1.26 SPECS/python-cheetah.spec:1.27
--- SPECS/python-cheetah.spec:1.26	Tue Jan  3 22:24:43 2006
+++ SPECS/python-cheetah.spec	Sun Apr 16 21:16:35 2006
@@ -3,11 +3,12 @@
 Summary(pl):	System szablonów dla języka Python
 Name:		python-cheetah
 Version:	1.0
-Release:	2
+Release:	3
 License:	Python
 Group:		Libraries/Python
 Source0:	http://dl.sourceforge.net/cheetahtemplate/Cheetah-%{version}.tar.gz
 # Source0-md5:	aaa4907b8877093b9bb11e6cea6b029b
+Patch0:		%{name}-setuptools.patch
 URL:		http://www.cheetahtemplate.org/
 BuildRequires:	python >= 2.2.1
 BuildRequires:	python-devel >= 2.2.1
@@ -22,6 +23,7 @@
 
 %prep
 %setup -q -n Cheetah-%{version}
+%patch -p1
 
 %build
 python setup.py build
@@ -31,6 +33,7 @@
 PYTHONPATH=$RPM_BUILD_ROOT%{py_sitedir}; export PYTHONPATH
 
 python setup.py install \
+	--single-version-externally-managed \
 	--optimize=2 \
 	--root=$RPM_BUILD_ROOT
 
@@ -57,6 +60,7 @@
 %{py_sitedir}/Cheetah/Tools/*.py[oc]
 %{py_sitedir}/Cheetah/Utils/*.py[oc]
 %{py_sitedir}/Cheetah/Utils/optik/*.py[oc]
+%{py_sitedir}/Cheetah-1.0-py2.4.egg-info
 
 %attr(755,root,root) %{_bindir}/cheetah
 %attr(755,root,root) %{_bindir}/cheetah-compile
@@ -68,6 +72,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2006/04/16 19:16:35  radzio
+- add Patch0 to use setuptools (needed by python-PasteScript.spec)
+
 Revision 1.26  2006/01/03 21:24:43  qboosh
 - unified sf URL
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-cheetah.spec?r1=1.26&r2=1.27&f=u



More information about the pld-cvs-commit mailing list