[sip] 4.12.2

Rex Dieter rdieter at fedoraproject.org
Mon May 2 14:10:07 UTC 2011


commit d09e66f2f6105f99e0fd3f23d7f3846e9c22a21e
Author: Rex Dieter <rdieter at fedoraproject.org>
Date:   Mon May 2 09:09:58 2011 -0500

    4.12.2

 .gitignore |    2 +-
 sip.spec   |   20 +++++++++-----------
 sources    |    2 +-
 3 files changed, 11 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e1fedd4..c46e6cc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,2 @@
-/sip-4.11.2.tar.gz
 /sip-4.12.1.tar.gz
+/sip-4.12.2.tar.gz
diff --git a/sip.spec b/sip.spec
index f37de20..3d4a06c 100644
--- a/sip.spec
+++ b/sip.spec
@@ -1,7 +1,5 @@
 
-%if 0%{?fedora} > 13
 %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))")}
@@ -11,8 +9,8 @@
 
 Summary: SIP - Python/C++ Bindings Generator
 Name: sip
-Version: 4.12.1
-Release: 5%{?dist}
+Version: 4.12.2
+Release: 1%{?dist}
 License: GPLv2 or GPLv3
 Group: Development/Tools
 Url: http://www.riverbankcomputing.com/software/sip/intro 
@@ -50,7 +48,6 @@ explicit support for the signal slot mechanism used by the Qt/KDE class
 libraries. However, SIP can be used to generate Python bindings for any C++
 class library.
 
-
 %package devel
 Summary: Files needed to generate Python bindings for any C++ class library
 Group: Development/Libraries
@@ -61,7 +58,6 @@ Requires: python-devel
 This package contains files needed to generate Python bindings for any C++
 classes library.
 
-
 %package macros
 Summary: RPM macros for use when working with SIP
 Group: Development/Tools
@@ -72,7 +68,6 @@ This package contains RPM macros for use when working with SIP.
 It is used by both the sip-devel (python 2) and python3-sip-devel subpackages.
 %endif
 
-
 %if 0%{?with_python3}
 %package -n python3-sip
 Summary: SIP - Python 3/C++ Bindings Generator
@@ -117,10 +112,6 @@ cp -a . %{py3dir}
 
 
 %build
-%{__python} configure.py -d %{python_sitearch} CXXFLAGS="%{optflags}" CFLAGS="%{optflags}"
-
-make %{?_smp_mflags} 
-
 %if 0%{?with_python3}
 pushd %{py3dir}
 %{__python3} configure.py -d %{python3_sitearch} CXXFLAGS="%{optflags}" CFLAGS="%{optflags}" --sipdir=%{_datadir}/python3-sip
@@ -129,6 +120,10 @@ make %{?_smp_mflags}
 popd
 %endif
 
+%{__python} configure.py -d %{python_sitearch} CXXFLAGS="%{optflags}" CFLAGS="%{optflags}"
+
+make %{?_smp_mflags}
+
 
 %install
 rm -rf %{buildroot}
@@ -187,6 +182,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Mon May 02 2011 Rex Dieter <rdieter at fedoraproject.org> 4.12.2-1
+- 4.12.2
+
 * Tue Mar 22 2011 Rex Dieter <rdieter at fedoraproject.org> 4.12.1-5
 - Provides: (python3-)sip-api(...)%%{_isa} ...  (ie, make it arch'd)
 
diff --git a/sources b/sources
index 7bd7b06..42c1c51 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0f8e8305b14c1812191de2e0ee22fea9  sip-4.12.1.tar.gz
+9df80f88e0e4022cdd8a8891c6c38048  sip-4.12.2.tar.gz


More information about the scm-commits mailing list