[python-tw2-jit] Require sqlalchemy-0.7 if on epel.

Ralph Bean ralph at fedoraproject.org
Wed May 30 02:53:11 UTC 2012


commit 46d128c7be26ad822e29209cf98a8164c35d1a4d
Author: Ralph Bean <rbean at redhat.com>
Date:   Tue May 29 22:52:51 2012 -0400

    Require sqlalchemy-0.7 if on epel.

 python-tw2-jit.spec |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/python-tw2-jit.spec b/python-tw2-jit.spec
index e027af6..b5223a1 100644
--- a/python-tw2-jit.spec
+++ b/python-tw2-jit.spec
@@ -4,7 +4,7 @@
 
 Name:           python-tw2-jit
 Version:        2.0.3
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Javascript Infovis Toolkit (JIT) for ToscaWidgets2
 
 Group:          Development/Languages
@@ -19,7 +19,11 @@ BuildRequires:  python-setuptools
 BuildRequires:  python-tw2-core
 BuildRequires:  python-tw2-jquery
 BuildRequires:  python-tw2-sqla
+%if %{?rhel}%{!?rhel:0} >= 6
+BuildRequires:  python-sqlalchemy0.7
+%else
 BuildRequires:  python-sqlalchemy
+%endif
 
 BuildRequires:  python-BeautifulSoup
 BuildRequires:  python-genshi
@@ -29,7 +33,11 @@ BuildRequires:  python-mako
 Requires:  python-tw2-core
 Requires:  python-tw2-jquery
 Requires:  python-tw2-sqla
+%if %{?rhel}%{!?rhel:0} >= 6
+Requires:  python-sqlalchemy0.7
+%else
 Requires:  python-sqlalchemy
+%endif
 Requires:  python-BeautifulSoup
 Requires:  python-genshi
 Requires:  python-mako
@@ -75,6 +83,9 @@ mv setup.py.tmp setup.py
 
 
 %changelog
+* Tue May 29 2012 Ralph Bean <rbean at redhat.com> - 2.0.3-4
+- Require sqlalchemy-0.7 if on epel.
+
 * Fri May 11 2012 Ralph Bean <rbean at redhat.com> - 2.0.3-3
 - Fixed typo in the files section.
 


More information about the scm-commits mailing list