[python-tw2-jqplugins-flot] Fix rhel conditionals.

Ralph Bean ralph at fedoraproject.org
Thu Nov 13 19:28:30 UTC 2014


commit c9f9036dbb1531d128eeb8937eccb048963b0a17
Author: Ralph Bean <rbean at redhat.com>
Date:   Thu Nov 13 14:28:23 2014 -0500

    Fix rhel conditionals.

 python-tw2-jqplugins-flot.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/python-tw2-jqplugins-flot.spec b/python-tw2-jqplugins-flot.spec
index 2d7cf2f..67f0339 100644
--- a/python-tw2-jqplugins-flot.spec
+++ b/python-tw2-jqplugins-flot.spec
@@ -4,7 +4,7 @@
 
 Name:           python-tw2-jqplugins-flot
 Version:        2.0.1
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        jQuery flot (plotting) for ToscaWidgets2
 
 Group:          Development/Languages
@@ -53,7 +53,7 @@ to flot widgets.
 %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
@@ -85,6 +85,9 @@ PYTHONPATH=$(pwd) python setup.py test
 %{python_sitelib}/%{modname}-%{version}-*
 
 %changelog
+* Thu Nov 13 2014 Ralph Bean <rbean at redhat.com> - 2.0.1-8
+- Fix rhel conditionals.
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.0.1-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list