[python-tw2-jquery] Con gusto.

Ralph Bean ralph at fedoraproject.org
Mon Jan 21 15:57:34 UTC 2013


commit bcb144579aee8461d2cf2cf123ca1da17b03e686
Author: Ralph Bean <rbean at redhat.com>
Date:   Mon Jan 21 10:57:25 2013 -0500

    Con gusto.

 python-tw2-jquery.spec |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/python-tw2-jquery.spec b/python-tw2-jquery.spec
index 7a1f6ab..82b0379 100644
--- a/python-tw2-jquery.spec
+++ b/python-tw2-jquery.spec
@@ -16,7 +16,7 @@ BuildArch:      noarch
 # For building, generally
 BuildRequires:  python2-devel
 BuildRequires:  python-setuptools
-%if 0%{?rhel} <= 6
+%if 0%{?rhel} && 0%{?rhel} <= 6
 BuildRequires:  python-webob1.0 >= 0.9.7
 %else
 BuildRequires:  python-webob >= 0.9.7
@@ -71,7 +71,7 @@ rm -rf tw2/jquery/static/jquery/1.4.4/
 rm -rf tw2/jquery/static/jquery/1.6.0/
 rm -rf tw2/jquery/static/jquery/1.6.2/
 
-%if 0%{?rhel} <= 6
+%if 0%{?rhel} && 0%{?rhel} <= 6
 # Make sure that epel/rhel picks up the correct version of webob
 awk 'NR==1{print "import __main__; __main__.__requires__ = __requires__ = [\"WebOb>=1.0\"]; import pkg_resources"}1' setup.py > setup.py.tmp
 mv setup.py.tmp setup.py
@@ -88,7 +88,7 @@ rm setup.cfg
     --install-data=%{_datadir} --root %{buildroot}
 
 %check
-%if 0%{?rhel} <= 6
+%if 0%{?rhel} && 0%{?rhel} <= 6
 # Don't run tests on rhel.
 %else
 PYTHONPATH=$(pwd) python setup.py test


More information about the scm-commits mailing list