[python-tahrir-api] Conditional mako0.4 requirement for epel6.
Ralph Bean
ralph at fedoraproject.org
Fri Jun 14 03:12:43 UTC 2013
commit dd363ce949f4f1295e51162a659169e56029b44a
Author: Ralph Bean <rbean at redhat.com>
Date: Thu Jun 13 23:12:32 2013 -0400
Conditional mako0.4 requirement for epel6.
python-tahrir-api.spec | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/python-tahrir-api.spec b/python-tahrir-api.spec
index 6257daf..6f3126a 100644
--- a/python-tahrir-api.spec
+++ b/python-tahrir-api.spec
@@ -2,7 +2,7 @@
Name: python-tahrir-api
Version: 0.1.8
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: An API for interacting with the Tahrir database
Group: Development/Languages
@@ -23,6 +23,14 @@ Requires: python-paste-deploy
Requires: python-webob1.2
Requires: python-httplib2
+%if 0%{?fedora}
+BuildRequires: python-mako >= 0.3.6
+Requires: python-mako >= 0.3.6
+%else if 0%{?rhel} && 0%{?rhel} <= 6
+BuildRequires: python-mako0.4 >= 0.3.6
+Requires: python-mako0.4 >= 0.3.6
+%endif
+
%if %{?rhel}%{!?rhel:0} >= 6
BuildRequires: python-sqlalchemy0.7
Requires: python-sqlalchemy0.7
@@ -66,6 +74,9 @@ install -p -m755 tempfile %{buildroot}/%{_bindir}/initialize_tahrir_db
%{_bindir}/initialize_tahrir_db
%changelog
+* Thu Jun 13 2013 Ralph Bean <rbean at redhat.com> - 0.1.8-4
+- Conditional mako0.4 requirement for epel6.
+
* Thu Jun 13 2013 Ralph Bean <rbean at redhat.com> - 0.1.8-3
- More epel6 fixes.
More information about the scm-commits
mailing list