rpms/python-tg-devtools/devel python-tg-devtools.spec,1.1,1.2

Luke Macken lmacken at fedoraproject.org
Thu Oct 1 14:44:15 UTC 2009


Author: lmacken

Update of /cvs/pkgs/rpms/python-tg-devtools/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20798

Modified Files:
	python-tg-devtools.spec 
Log Message:
Apply patch from #468804 to fix version requirements


Index: python-tg-devtools.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-tg-devtools/devel/python-tg-devtools.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- python-tg-devtools.spec	30 Sep 2009 21:39:44 -0000	1.1
+++ python-tg-devtools.spec	1 Oct 2009 14:44:15 -0000	1.2
@@ -3,7 +3,7 @@
 
 Name:           python-tg-devtools
 Version:        2.0.2
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Development tools and templates for TurboGears2
 
 Group:          Development/Languages
@@ -21,7 +21,7 @@ BuildRequires:  python-repoze-what-quick
 BuildRequires:  python-zope-sqlalchemy
 
 BuildRequires:  python-paste-script python-tempita python-webtest
-BuildRequires:  python-migrate0.5 python-repoze-who python-repoze-who-testutil
+BuildRequires:  python-repoze-who python-repoze-who-testutil
 BuildRequires:  python-babel
 BuildRequires:  TurboGears2
 
@@ -41,14 +41,10 @@ Requires:       python-hashlib
 %if 0%{?fedora} > 10
 Requires:       python-sqlalchemy
 Requires:       python-migrate
+BuildRequires:  python-migrate
 %else
 BuildRequires:  python-sqlalchemy0.5
 BuildRequires:  python-migrate0.5
-
-# Including these to hack around some setuptools bugs...
-BuildRequires:  python-sqlalchemy
-BuildRequires:  python-migrate
-
 Requires:       python-sqlalchemy0.5
 Requires:       python-migrate0.5
 %endif
@@ -71,6 +67,8 @@ TurboGears2 development.
 %install
 rm -rf %{buildroot}
 %{__python} setup.py install -O1 --skip-build --root %{buildroot}
+# remove wrong script interpreter
+sed -i '1s/^#!python//' %{buildroot}%{python_sitelib}/devtools/templates/turbogears/ez_setup/__init__.py
 
 
 %check
@@ -81,7 +79,7 @@ rm -rf %{buildroot}
 
 
 %files
-%defattr(-,root,root,-)
+%defattr(0644,root,root,0755)
 %doc
 %{python_sitelib}/devtools/
 %{python_sitelib}/tg.devtools-%{version}-py%{pyver}.egg-info/
@@ -89,6 +87,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Thu Oct 01 2009 Luke Macken <lmacken at redhat.com> - 2.0.2-3
+- Apply patch from #468804 to fix version requirements
+
 * Tue Sep 01 2009 Luke Macken <lmacken at redhat.com> - 2.0.2-2
 - Update SQLAlchemy0.5 patch
 - Include both version of SQLAlchemy to get the test suite to run




More information about the fedora-extras-commits mailing list