ralph pushed to python-tahrir (f21). "Correct rhel6 conditional."

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Apr 2 17:56:36 UTC 2015


>From 3d2f990807d0f6c1abd09e9c91f9af06d2c775e5 Mon Sep 17 00:00:00 2001
From: Ralph Bean <rbean at redhat.com>
Date: Mon, 29 Sep 2014 16:32:35 -0400
Subject: Correct rhel6 conditional.


diff --git a/python-tahrir.spec b/python-tahrir.spec
index e9da3a0..6268f7d 100644
--- a/python-tahrir.spec
+++ b/python-tahrir.spec
@@ -2,7 +2,7 @@
 
 Name:             python-tahrir
 Version:          0.7.0
-Release:          2%{?dist}
+Release:          3%{?dist}
 Summary:          A pyramid app for issuing your own Open Badges
 
 Group:            Development/Languages
@@ -38,7 +38,7 @@ Requires:         fedmsg
 Requires:         httpd
 Requires:         mod_wsgi
 
-%if %{?rhel}%{!?rhel:0} >= 6
+%if 0%{?rhel} && 0%{?rhel} <= 6
 BuildRequires:    python-sqlalchemy0.7
 Requires:         python-sqlalchemy0.7
 %else
@@ -100,6 +100,9 @@ sed -i 's/%%(here)s/\/var\/lib\/tahrir/' apache/%{modname}.ini
 %attr(-,%{modname},root) %config(noreplace) %{_var}/lib/%{modname}
 
 %changelog
+* Mon Sep 29 2014 Ralph Bean <rbean at redhat.com> - 0.7.0-3
+- Correct rhel6 conditional.
+
 * Mon Jul 14 2014 Ralph Bean <rbean at redhat.com> - 0.7.0-2
 - Patch thingiviewer to offset our badge stls.
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/python-tahrir.git/commit/?h=f21&id=3d2f990807d0f6c1abd09e9c91f9af06d2c775e5


More information about the scm-commits mailing list