[python-fudge] Add conditional to exclude EL since does not have py3

Athmane Madjoudj athmane at fedoraproject.org
Mon Nov 24 20:36:35 UTC 2014


commit 0f665c35b63803d6e0d8a86bfd0bb5cc094fa80c
Author: Athmane Madjoudj <athmane at fedoraproject.org>
Date:   Mon Nov 24 21:36:21 2014 +0100

    Add conditional to exclude EL since does not have py3

 python-fudge.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/python-fudge.spec b/python-fudge.spec
index 79d9b6d..efa708c 100644
--- a/python-fudge.spec
+++ b/python-fudge.spec
@@ -1,8 +1,10 @@
-%global with_python3 1
+%if 0%{?fedora} > 15
+    %global with_python3 1
+%endif
 
 Name: python-fudge
 Version: 1.0.3
-Release: 5%{?dist}
+Release: 6%{?dist}
 Summary: A Python module for using fake objects (mocks and stubs) to test real ones
 
 License: MIT
@@ -88,6 +90,9 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Mon Nov 24 2014 Athmane Madjoudj <athmane at fedoraproject.org> 1.0.3-6
+- Add conditional to exclude EL since does not have py3
+
 * Mon Nov 17 2014 Athmane Madjoudj <athmane at fedoraproject.org> 1.0.3-5
 - Add python3 support
 


More information about the scm-commits mailing list