Hello community,

here is the log from the commit of package python-sip for openSUSE:Factory 
checked in at 2011-11-22 17:49:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sip (Old)
 and      /work/SRC/openSUSE:Factory/.python-sip.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sip", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-sip/python-sip.changes    2011-09-23 
12:43:17.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-sip.new/python-sip.changes       
2011-11-22 17:49:35.000000000 +0100
@@ -1,0 +2,21 @@
+Thu Oct 27 16:55:43 UTC 2011 - [email protected]
+
+- Changelog from the Creators
+  - SIP v4.13 has been released. This is a minor feature release.
+    o added the %DefaultDocstringFormat directive
+    o added the format argument to the %Docstring directive
+    o %ConvertToSubClassCode can now cause a restart of the conversion 
+      process using a different requested type
+    o '*' and '&' are now supported as unary operators in expressions 
+      used in the values of default arguments
+    o the /Transfer/ annotation can now be used with the /Array/ 
+      annotation to prevent the freeing of the temporary array of 
+      pointers. 
+
+-------------------------------------------------------------------
+Wed Oct 26 20:18:57 UTC 2011 - [email protected]
+
+- Updated to 4.13
+  - last stable release 
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/python-sip/python3-sip.changes   2011-09-23 
12:43:18.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-sip.new/python3-sip.changes      
2011-11-22 17:49:35.000000000 +0100
@@ -1,0 +2,12 @@
+Mon Nov 21 10:33:26 UTC 2011 - [email protected]
+
+- Define python3_sitearch (fixes the <12.1 build)
+- Spec cleanup
+
+-------------------------------------------------------------------
+Wed Oct 26 20:19:38 UTC 2011 - [email protected]
+
+- Update to 4.13
+  - last stable release 
+
+-------------------------------------------------------------------

Old:
----
  sip-4.12.4.tar.bz2

New:
----
  sip-4.13.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-sip.spec ++++++
--- /var/tmp/diff_new_pack.s65Bed/_old  2011-11-22 17:49:36.000000000 +0100
+++ /var/tmp/diff_new_pack.s65Bed/_new  2011-11-22 17:49:36.000000000 +0100
@@ -23,8 +23,8 @@
 License:        GPL-2.0 or GPL-3.0 or SIP
 Group:          Development/Libraries/Python
 Summary:        SIP tool to use python sip bindings
-Version:        4.12.4
-Release:        3
+Version:        4.13
+Release:        0
 %define rversion %version
 Url:            http://www.riverbankcomputing.com/software/sip/intro
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ python3-sip.spec ++++++
--- /var/tmp/diff_new_pack.s65Bed/_old  2011-11-22 17:49:36.000000000 +0100
+++ /var/tmp/diff_new_pack.s65Bed/_new  2011-11-22 17:49:36.000000000 +0100
@@ -15,32 +15,33 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:           python3-sip
+Version:        4.13
+Release:        2
 License:        GPL-2.0 or GPL-3.0 or SIP
-Group:          Development/Libraries/Python
 Summary:        SIP tool to use python sip bindings
-Version:        4.12.4
-Release:        2
-%define rversion %version
+%define rversion %{version}
 Url:            http://www.riverbankcomputing.com/software/sip/intro
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Group:          Development/Libraries/Python
 Source0:        sip-%{rversion}.tar.bz2
 Patch0:         disable-rpaths.diff
 Patch1:         build-compare.diff
 BuildRequires:  c++_compiler
-BuildRequires:  python3 python3-devel
+BuildRequires:  python3
+BuildRequires:  python3-devel
+Requires(pre):  python3
 Requires:       python3
-PreReq:         python3
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %if 0%{?suse_version} > 1140
+Requires(pre):  python3-base
 Requires:       python3-base
-PreReq:         python3-base
 %endif
 
-%global py3_incdir  %(python3 -c "import distutils.sysconfig; 
print(distutils.sysconfig.get_python_inc())" 2>/dev/null || echo 
PYTHON-NOT-FOUND)
+%global py3_incdir  %(python3 -c "import distutils.sysconfig; 
print(distutils.sysconfig.get_python_inc(True))" 2>/dev/null || echo 
PYTHON-NOT-FOUND)
+%global python3_sitearch %(python3 -c "import distutils.sysconfig; 
print(distutils.sysconfig.get_python_lib(True))" 2>/dev/null || echo 
PYTHON-NOT-FOUND)
 
 %description
 SIP is a tool that makes it very easy to create Python bindings for C
@@ -50,11 +51,13 @@
 
 %package devel
 License:        GPL-2.0 or GPL-3.0 or SIP
-Group:          Development/Libraries/Python
 Summary:        SIP tool to create python bindings
+Group:          Development/Libraries/Python
+Requires:       %{name} = %{version}
+Requires:       c++_compiler
+Requires:       python-sip-bin
+Requires:       python3-devel
 Provides:       python3-sip:/usr/bin/sip
-Requires:       %name = %version
-Requires:       c++_compiler python3-devel python-sip-bin
 
 %description devel
 SIP is a tool that makes it very easy to create Python bindings for C
@@ -71,21 +74,21 @@
 %patch1
 
 %build
-export CFLAGS="$RPM_OPT_FLAGS"
-export CXXFLAGS="$RPM_OPT_FLAGS"
+export CFLAGS="%{optflags}"
+export CXXFLAGS="%{optflags}"
 export SUSE_ASNEEDED=0
-python3 configure.py --debug CFLAGS+="$RPM_OPT_FLAGS" 
CXXFLAGS+="$RPM_OPT_FLAGS"
-make %{?jobs:-j %jobs}
+python3 configure.py --debug CFLAGS+="%{optflags}" CXXFLAGS+="%{optflags}"
+make %{?_smp_mflags}
 
 %install
-make DESTDIR=$RPM_BUILD_ROOT install
-mkdir -p $RPM_BUILD_ROOT/usr/share/sip
+%make_install
+mkdir -p %{buildroot}%{_datadir}/sip
 sed -i 's/"doc" directory/"doc" directory of package %{name}-devel/' README
 # sip executable is provided by python-sip-bin to avoid conflicts
-rm $RPM_BUILD_ROOT/usr/bin/sip
+rm %{buildroot}%{_bindir}/sip
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root)
@@ -98,6 +101,6 @@
 %{py3_incdir}/sip.h
 %{python3_sitearch}/sipconfig.py
 %{python3_sitearch}/sipdistutils.py
-/usr/share/sip
+%{_datadir}/sip
 
 %changelog

++++++ sip-4.12.4.tar.bz2 -> sip-4.13.tar.bz2 ++++++
++++ 25255 lines of diff (skipped)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to