[python-tahrir-api] Some more comapt-package wrangling.

Ralph Bean ralph at fedoraproject.org
Fri Jun 14 03:47:12 UTC 2013


commit 660011f4595dbd20a0edabc455706209b7fdb15d
Author: Ralph Bean <rbean at redhat.com>
Date:   Thu Jun 13 23:47:00 2013 -0400

    Some more comapt-package wrangling.

 python-tahrir-api.spec |   29 +++++++++++++++++------------
 1 files changed, 17 insertions(+), 12 deletions(-)
---
diff --git a/python-tahrir-api.spec b/python-tahrir-api.spec
index c2262a2..837da40 100644
--- a/python-tahrir-api.spec
+++ b/python-tahrir-api.spec
@@ -2,7 +2,7 @@
 
 Name:             python-tahrir-api
 Version:          0.1.8
-Release:          5%{?dist}
+Release:          6%{?dist}
 Summary:          An API for interacting with the Tahrir database
 
 Group:            Development/Languages
@@ -15,30 +15,31 @@ BuildArch:        noarch
 BuildRequires:    python2-devel
 BuildRequires:    python-setuptools
 BuildRequires:    python-webob1.2
-BuildRequires:    python-zope-interface
 
 Requires:       python-pygments
 Requires:       python-zope-sqlalchemy
 Requires:       python-simplejson
-Requires:       python-paste-deploy
 Requires:       python-webob1.2
-Requires:       python-zope-interface
 Requires:       python-httplib2
 
 %if 0%{?fedora}
 BuildRequires:  python-mako >= 0.3.6
 Requires:       python-mako >= 0.3.6
+BuildRequires:  python-paste-deploy
+Requires:       python-paste-deploy
+BuildRequires:  python-sqlalchemy >= 0.7
+Requires:       python-sqlalchemy >= 0.7
+BuildRequires:  python-zope-interface
+Requires:       python-zope-interface
 %else if 0%{?rhel} && 0%{?rhel} <= 6
 BuildRequires:  python-mako0.4 >= 0.3.6
 Requires:       python-mako0.4 >= 0.3.6
-%endif
-
-%if %{?rhel}%{!?rhel:0} >= 6
-BuildRequires:    python-sqlalchemy0.7
-Requires:         python-sqlalchemy0.7
-%else
-BuildRequires:    python-sqlalchemy >= 0.7
-Requires:         python-sqlalchemy >= 0.7
+BuildRequires:  python-paste-deploy1.5
+Requires:       python-paste-deploy1.5
+BuildRequires:  python-sqlalchemy0.7
+Requires:       python-sqlalchemy0.7
+BuildRequires:  python-zope-interface4
+Requires:       python-zope-interface4
 %endif
 
 %description
@@ -76,6 +77,10 @@ install -p -m755 tempfile %{buildroot}/%{_bindir}/initialize_tahrir_db
 %{_bindir}/initialize_tahrir_db
 
 %changelog
+* Thu Jun 13 2013 Ralph Bean <rbean at redhat.com> - 0.1.8-6
+- Use paste-deploy1.5 forward compat package.
+- Use zope-interface4 forward compat package.
+
 * Thu Jun 13 2013 Ralph Bean <rbean at redhat.com> - 0.1.8-5
 - Added dep on zope.interface.
 


More information about the scm-commits mailing list