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 - 4.13.3-3 +- make with_python3 be conditional on fedora + * Sat Jul 21 2012 Fedora Release Engineering - 4.13.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild