[python-chai] Modernize python3 conditional.

Ralph Bean ralph at fedoraproject.org
Wed Jul 9 12:50:24 UTC 2014


commit 7c580e0d65ddfd316d80fb9cba0b9d628a9a76b4
Author: Ralph Bean <rbean at redhat.com>
Date:   Wed Jul 9 08:50:31 2014 -0400

    Modernize python3 conditional.

 python-chai.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/python-chai.spec b/python-chai.spec
index cf3bef1..376eeb6 100644
--- a/python-chai.spec
+++ b/python-chai.spec
@@ -1,4 +1,4 @@
-%if 0%{?fedora} > 12 || 0%{?rhel} > 6
+%if 0%{?fedora}
 %global with_python3 1
 %endif
 
@@ -6,7 +6,7 @@
 
 Name:               python-%{modname}
 Version:            0.4.8
-Release:            1%{?dist}
+Release:            2%{?dist}
 Summary:            Easy to use mocking/stub framework
 
 Group:              Development/Libraries
@@ -96,6 +96,9 @@ popd
 %endif
 
 %changelog
+* Wed Jul 09 2014 Ralph Bean <rbean at redhat.com> - 0.4.8-2
+- Modernize with_python3 macro definition.
+
 * Wed Jul 02 2014 Pierre-Yves Chibon <pingou at pingoured.fr> - 0.4.8-1
 - Update to 0.4.8
 


More information about the scm-commits mailing list