[python-tw2-dynforms] Fix rhel conditionals.

Ralph Bean ralph at fedoraproject.org
Thu Nov 13 19:54:31 UTC 2014


commit a2032f7e43704827893584f8fdcf7597f154a0b6
Author: Ralph Bean <rbean at redhat.com>
Date:   Thu Nov 13 14:54:24 2014 -0500

    Fix rhel conditionals.

 python-tw2-dynforms.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/python-tw2-dynforms.spec b/python-tw2-dynforms.spec
index 93a3270..29bd9f0 100644
--- a/python-tw2-dynforms.spec
+++ b/python-tw2-dynforms.spec
@@ -4,7 +4,7 @@
 
 Name:           python-tw2-dynforms
 Version:        2.0.1
-Release:        8%{?dist}
+Release:        9%{?dist}
 Summary:        Dynamic forms for ToscaWidgets2
 
 Group:          Development/Languages
@@ -42,7 +42,7 @@ tw2.dynforms includes dynamic form building widgets that use JavaScript.
 %prep
 %setup -q -n %{modname}-%{version}
 
-%if %{?rhel}%{!?rhel:0} >= 6
+%if %{?rhel}%{!?rhel:0} <= 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
@@ -71,6 +71,9 @@ PYTHONPATH=$(pwd) python setup.py test
 %{python_sitelib}/%{modname}-%{version}-*.egg-info
 
 %changelog
+* Thu Nov 13 2014 Ralph Bean <rbean at redhat.com> - 2.0.1-9
+- Fix rhel conditional.
+
 * Thu Jun 12 2014 Ralph Bean <rbean at redhat.com> - 2.0.1-8
 - Add dep on python-sieve.
 


More information about the scm-commits mailing list