[python-fedora/epel7] clean up some rhel logic in the spec

Dennis Gilmore ausil at fedoraproject.org
Sat Jan 11 01:02:36 UTC 2014


commit 26537e969acbb617e10f169291e60406475dd5dd
Author: Dennis Gilmore <dennis at ausil.us>
Date:   Fri Jan 10 19:02:32 2014 -0600

    clean up some rhel logic in the spec

 python-fedora.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/python-fedora.spec b/python-fedora.spec
index fe4d18f..9a61403 100644
--- a/python-fedora.spec
+++ b/python-fedora.spec
@@ -4,7 +4,7 @@
 
 Name:           python-fedora
 Version:        0.3.32.3
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Python modules for talking to Fedora Infrastructure Services
 
 Group:          Development/Languages
@@ -78,9 +78,9 @@ License:        LGPLv2+
 Requires: %{name} = %{version}-%{release}
 Requires: TurboGears2
 Requires: python-sqlalchemy
-%if 0%{?fedora}
+%if 0%{?fedora} || %{?rhel} >= 7
 Requires: python-mako >= 0.3.6
-%else if 0%{?rhel} && 0%{?rhel} <= 6
+%else
 Requires: python-mako0.4 >= 0.3.6
 %endif
 Requires: python-repoze-who-friendlyform
@@ -175,6 +175,9 @@ rm -rf %{buildroot}
 %{python_sitelib}/flask_fas_openid.py*
 
 %changelog
+* Fri Jan 10 2014 Dennis Gilmore <dennis at ausil.us> - 0.3.32.3-4
+- clean up some rhel logic in the spec
+
 * Mon Jul 29 2013 Toshio Kuratomi <toshio at fedoraproject.org> - 0.3.32.3-3
 - Update flask_fas_openid to fix imports
 


More information about the scm-commits mailing list