[python-tahrir] Correct rhel6 conditional.
Ralph Bean
ralph at fedoraproject.org
Mon Sep 29 20:32:45 UTC 2014
commit 3d2f990807d0f6c1abd09e9c91f9af06d2c775e5
Author: Ralph Bean <rbean at redhat.com>
Date: Mon Sep 29 16:32:35 2014 -0400
Correct rhel6 conditional.
python-tahrir.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
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.
More information about the scm-commits
mailing list