[sip] make with_python3 be conditional on fedora

dmalcolm dmalcolm at fedoraproject.org
Fri Aug 3 18:14:08 UTC 2012


commit a4bf4d07f5d46980f7cf79f16720d6ec42752c97
Author: David Malcolm <dmalcolm at redhat.com>
Date:   Fri Aug 3 14:13:07 2012 -0400

    make with_python3 be conditional on fedora

 sip.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/sip.spec b/sip.spec
index 2dcdc9d..ad23936 100644
--- a/sip.spec
+++ b/sip.spec
@@ -1,5 +1,6 @@
-
+%if 0%{?fedora} > 12
 %global with_python3 1
+%endif
 
 %if 0%{?with_python3}
 %{!?python3_inc:%global python3_inc %(%{__python3} -c "from distutils.sysconfig import get_python_inc; print(get_python_inc(1))")}
@@ -10,7 +11,7 @@
 Summary: SIP - Python/C++ Bindings Generator
 Name: sip
 Version: 4.13.3
-Release: 2%{?dist}
+Release: 3%{?dist}
 # sipgen/parser.{c.h} is GPLv3+ with exceptions (bison)
 License: GPLv2 or GPLv3 and (GPLv3+ with exceptions)
 Group: Development/Tools
@@ -186,6 +187,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Fri Aug  3 2012 David Malcolm <dmalcolm at redhat.com> - 4.13.3-3
+- make with_python3 be conditional on fedora
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.13.3-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list