[python-mccabe/epel7] Fix building on RHEL-7 (we really don’t have Python3)

Matej Cepl mcepl at fedoraproject.org
Tue Apr 29 19:24:44 UTC 2014


commit c2cebf94ec1376097b8ae1618cb51eed08044086
Author: Matěj Cepl <mcepl at redhat.com>
Date:   Tue Apr 29 21:24:42 2014 +0200

    Fix building on RHEL-7 (we really don’t have Python3)

 python-mccabe.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/python-mccabe.spec b/python-mccabe.spec
index 7c3eebb..b8026f9 100644
--- a/python-mccabe.spec
+++ b/python-mccabe.spec
@@ -1,4 +1,4 @@
-%if 0%{?fedora} > 12 || 0%{?rhel} > 6
+%if 0%{?fedora} > 12 || 0%{?rhel} > 7
 %global with_python3 1
 %endif
 
@@ -6,7 +6,7 @@
 
 Name:               python-mccabe
 Version:            0.2.1
-Release:            2%{?dist}
+Release:            3%{?dist}
 Summary:            McCabe complexity checker
 
 Group:              Development/Libraries
@@ -89,6 +89,9 @@ popd
 %endif
 
 %changelog
+* Tue Apr 29 2014 Matěj Cepl <mcepl at redhat.com> - 0.2.1-3
+- Fix building on RHEL-7 (we really don’t have Python3)
+
 * Mon Apr 15 2013 Matěj Cepl <mcepl at redhat.com> 0.2.1-2
 - Fix %%changelog.
 


More information about the scm-commits mailing list