[TurboGears/el5/master] Because EPEL-5 has shipped older versions of some of our deps we need to set minimum versions for :

Mark Chappell tremble at fedoraproject.org
Thu Sep 16 16:04:58 UTC 2010


commit 82a9b2aeb5f03013482b509c2d319ff5145271e3
Author: Mark Chappell <tremble at fedoraproject.org>
Date:   Thu Sep 16 17:33:30 2010 +0200

    Because EPEL-5 has shipped older versions of some of our deps we need to set
    minimum versions for :
    python-cherrypy (>= 2.3.0)
    python-ruledispatch (>= 0.5a0.dev-r2303)
    python-sqlalchemy (>= 0.3.10)

 TurboGears.spec |   18 +++++++++++++-----
 1 files changed, 13 insertions(+), 5 deletions(-)
---
diff --git a/TurboGears.spec b/TurboGears.spec
index ea839b4..b3b7da4 100644
--- a/TurboGears.spec
+++ b/TurboGears.spec
@@ -3,7 +3,7 @@
 
 Name:           TurboGears
 Version:        1.0.9
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Back-to-front web development in Python
 
 Group:          Development/Languages
@@ -32,12 +32,16 @@ Requires:       python-cherrypy2
 BuildRequires:	python-cherrypy2
 %else
 BuildRequires:  python-elementtree >= 1.2.6
-BuildRequires:	python-cherrypy
+# EPEL-5 shipped < 2.3.0 originally
+# Note there is also a requirement for this to be cherrypy 2, however 
+# cherrypy 3 should only turn up as a parallel installable version...
+BuildRequires:	python-cherrypy >= 2.3.0
 Requires:       python-elementtree >= 1.2.6
-Requires:       python-cherrypy
+Requires:       python-cherrypy >= 2.3.0
 %endif
 
-Requires:       python-sqlalchemy
+# EPEL-5 shipped < 0.3.10 originally
+Requires:       python-sqlalchemy >= 0.3.10
 Requires:       python-kid >= 0.8
 Requires:       python-sqlobject >= 0.8
 Requires:       python-formencode >= 0.7.1
@@ -49,7 +53,8 @@ Requires:       python-tgfastdata
 Requires:       python-simplejson >= 1.3
 Requires:       python-paste-script >= 1.6.2
 Requires:       python-configobj >= 4.3.2
-Requires:       python-ruledispatch
+# First version shipped by EPEL-5 that provides what we need
+Requires:       python-ruledispatch >= 0.5a0-0.8.svnr2306
 Requires:       python-nose >= 0.9.1
 Requires:       python-psycopg2
 Requires:       python-decoratortools >= 1.4
@@ -98,6 +103,9 @@ rm -rf %{buildroot}
 %{python_sitelib}/turbogears/
 
 %changelog
+* Thu Sep 16 2010 Mark Chappell <tremble at fedoraproject.org> - 1.0.9-3
+- Add explicit versions to ensure we install cleanly on EL-5 RHBZ#451228
+
 * Thu Dec 17 2009 Toshio Kuratomi <toshio at fedoraproject.org> - 1.0.9-2
 - Update sql create patch for traceback when used in development mode RHBZ#548594
 


More information about the scm-commits mailing list