rpms/python-cheetah/devel python-cheetah.spec,1.25,1.26

Mike Bonnet mikeb at fedoraproject.org
Mon Jan 4 20:52:41 UTC 2010


Author: mikeb

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

Modified Files:
	python-cheetah.spec 
Log Message:
- BuildRequire markdown and pygments so their tests can be run at build time
- handle an improperly renamed README file


Index: python-cheetah.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-cheetah/devel/python-cheetah.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -p -r1.25 -r1.26
--- python-cheetah.spec	4 Jan 2010 19:32:23 -0000	1.25
+++ python-cheetah.spec	4 Jan 2010 20:52:41 -0000	1.26
@@ -15,8 +15,11 @@ BuildRoot:      %(mktemp -ud %{_tmppath}
 BuildRequires: python
 BuildRequires: python-devel
 BuildRequires: python-setuptools
+BuildRequires: python-markdown
+BuildRequires: python-pygments
 
-Requires: python-markdown >= 2.0.1
+Requires: python-markdown
+Requires: python-pygments
 
 %description
 Cheetah is an open source template engine and code generation tool,
@@ -27,6 +30,8 @@ code, Java, sql, form emails and even Py
 
 %prep
 %setup -q -n Cheetah-%{version}
+# The README file somehow got renamed in the 2.4.1 release
+%{__mv} Cheetah-%{version}/README.markdown Cheetah-%{version}/README
 
 %build
 %{__python} setup.py build




More information about the fedora-extras-commits mailing list