[python-tahrir-api] Adjust setuptools requirement line.

Ralph Bean ralph at fedoraproject.org
Tue Dec 17 17:20:45 UTC 2013


commit 542de66088197f2cd7aad6e5e36586b12aeaefd3
Author: Ralph Bean <rbean at redhat.com>
Date:   Tue Dec 17 12:20:46 2013 -0500

    Adjust setuptools requirement line.

 python-tahrir-api.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/python-tahrir-api.spec b/python-tahrir-api.spec
index 55991ce..40aadf2 100644
--- a/python-tahrir-api.spec
+++ b/python-tahrir-api.spec
@@ -2,7 +2,7 @@
 
 Name:             python-tahrir-api
 Version:          0.5.0
-Release:          2%{?dist}
+Release:          3%{?dist}
 Summary:          An API for interacting with the Tahrir database
 
 Group:            Development/Languages
@@ -79,7 +79,7 @@ the database without having to use the TahrirDatabase class.
 
 # Remove upstream egg-info so that it gets rebuilt.
 rm -rf *.egg-info
-awk 'NR==3{print "import __main__; __main__.__requires__ = __requires__ = [\"WebOb>=1.2\", \"sqlalchemy>=0.7\", \"PasteDeploy>=1.5.0\", \"zope.interface>=3.8.0\", \"Mako>=0.3.6\"]; import pkg_resources"}3' setup.py > setup.py.tmp
+awk 'NR==1{print "import __main__; __main__.__requires__ = __requires__ = [\"WebOb>=1.2\", \"sqlalchemy>=0.7\", \"PasteDeploy>=1.5.0\", \"zope.interface>=3.8.0\", \"Mako>=0.3.6\"]; import pkg_resources"}1' setup.py > setup.py.tmp
 mv setup.py.tmp setup.py
 
 %build
@@ -107,6 +107,9 @@ install -p -m755 tempfile %{buildroot}/%{_bindir}/initialize_tahrir_db
 %{_bindir}/initialize_tahrir_db
 
 %changelog
+* Tue Dec 17 2013 Ralph Bean <rbean at redhat.com> - 0.5.0-3
+- Adjust setuptools line in prep section.
+
 * Tue Dec 17 2013 Ralph Bean <rbean at redhat.com> - 0.5.0-2
 - Add temporary requires to get around broken python-arrow.
 


More information about the scm-commits mailing list