[datanommer-commands] Fix rhel conditionals for epel7.

Ralph Bean ralph at fedoraproject.org
Thu Jul 17 02:16:47 UTC 2014


commit c3509cd97e7779f8be443efddc64a915b14bd874
Author: Ralph Bean <rbean at redhat.com>
Date:   Wed Jul 16 22:17:04 2014 -0400

    Fix rhel conditionals for epel7.

 datanommer-commands.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/datanommer-commands.spec b/datanommer-commands.spec
index c03b46c..e845cdc 100644
--- a/datanommer-commands.spec
+++ b/datanommer-commands.spec
@@ -2,7 +2,7 @@
 
 Name:           datanommer-commands
 Version:        0.4.6
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Console commands for datanommer
 
 Group:          Development/Libraries
@@ -25,7 +25,7 @@ Requires:       python-datanommer-models >= 0.4.1
 Requires:       python-fedmsg-meta-fedora-infrastructure
 Requires:       fedmsg
 
-%if %{?rhel}%{!?rhel:0} >= 6
+%if %{?rhel}%{!?rhel:0} <= 6
 BuildRequires:    python-sqlalchemy0.7
 Requires:         python-sqlalchemy0.7
 %else
@@ -53,7 +53,7 @@ rm -rf *.egg-info
 %{__python} setup.py install -O1 --skip-build --root=%{buildroot}
 
 %check
-%if %{?rhel}%{!?rhel:0} >= 6
+%if %{?rhel}%{!?rhel:0} <= 6
 # No tests for epel... :/
 %else
 PYTHONPATH=$(pwd) nosetests
@@ -70,6 +70,9 @@ PYTHONPATH=$(pwd) nosetests
 %{_bindir}/datanommer-dump
 
 %changelog
+* Wed Jul 16 2014 Ralph Bean <rbean at redhat.com> - 0.4.6-2
+- Fix rhel conditionals.
+
 * Mon Jun 09 2014 Ralph Bean <rbean at redhat.com> - 0.4.6-1
 - Latest upstream.
 


More information about the scm-commits mailing list