Hello community, here is the log from the commit of package python-sip for openSUSE:Factory checked in at 2012-07-09 10:16:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2012-05-03 11:00:13.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-sip.new/python-sip.changes 2012-07-09 10:16:48.000000000 +0200 @@ -1,0 +2,13 @@ +Thu Jul 5 12:30:23 UTC 2012 - [email protected] + +- install api version as rpm macro + +------------------------------------------------------------------- +Fri Jun 22 02:58:35 UTC 2012 - [email protected] + +- Update to version 4.13.3 + * The /NoRaisesPyException/ and /RaisesPyException/ function annotations can + now be applied to constructors. + * Added support for the Python v3.3 handling of Unicode. + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/python-sip/python3-sip.changes 2012-05-03 11:00:13.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-sip.new/python3-sip.changes 2012-07-09 10:16:48.000000000 +0200 @@ -1,0 +2,13 @@ +Thu Jul 5 12:30:36 UTC 2012 - [email protected] + +- install api version as rpm macro + +------------------------------------------------------------------- +Fri Jun 22 02:59:36 UTC 2012 - [email protected] + +- Update to version 4.13.3 + - The /NoRaisesPyException/ and /RaisesPyException/ function annotations can + now be applied to constructors. + - Added support for the Python v3.3 handling of Unicode. + +------------------------------------------------------------------- Old: ---- sip-4.13.2.tar.gz New: ---- sip-4.13.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-sip.spec ++++++ --- /var/tmp/diff_new_pack.WPzPrQ/_old 2012-07-09 10:16:50.000000000 +0200 +++ /var/tmp/diff_new_pack.WPzPrQ/_new 2012-07-09 10:16:50.000000000 +0200 @@ -17,9 +17,10 @@ %define rversion %{version} +%define python_sip_api 8.1 Name: python-sip -Version: 4.13.2 +Version: 4.13.3 Release: 0 Summary: SIP tool to use python sip bindings License: GPL-2.0 or GPL-3.0 or SUSE-SIP @@ -33,6 +34,7 @@ BuildRequires: c++_compiler BuildRequires: python BuildRequires: python-devel +Provides: python-sip(api) = %python_sip_api BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires @@ -84,10 +86,21 @@ python configure.py --debug CFLAGS+="%{optflags}" CXXFLAGS+="%{optflags}" LIBS+="-lpython%{py_ver}" make %{?_smp_mflags} +sip_major=$(grep "define SIP_API_MAJOR_NR" siplib/sip.h.in | awk '{print $3}') +sip_minor=$(grep "define SIP_API_MINOR_NR" siplib/sip.h.in | awk '{print $3}') + +if test "%python_sip_api" != "$sip_major.$sip_minor"; then + echo "API version was changed to $sip_major.$sip_minor" + exit 1 +fi + +echo "%%requires_python_sip_api Requires: python-sip(api) = $sip_major.$sip_minor" > macros.%name + %install make DESTDIR=%{buildroot} install mkdir -p %{buildroot}%{_datadir}/sip +install -m 644 -D macros.%name %{buildroot}/%{_sysconfdir}/rpm/macros.%name # Point to the correct location for the documentation files sed -i 's/"doc" directory/"doc" directory of package %{name}-devel/' README @@ -104,6 +117,7 @@ %files devel %defattr(-,root,root,-) %doc NEWS LICENSE* doc/ +%config %{_sysconfdir}/rpm/macros.%name %{py_incdir}/sip.h %{py_sitedir}/sipconfig.py %{py_sitedir}/sipdistutils.py ++++++ python3-sip.spec ++++++ --- /var/tmp/diff_new_pack.WPzPrQ/_old 2012-07-09 10:16:50.000000000 +0200 +++ /var/tmp/diff_new_pack.WPzPrQ/_new 2012-07-09 10:16:50.000000000 +0200 @@ -22,9 +22,10 @@ %global py3_abi %(python3-config --abiflags) %define rversion %{version} +%define python_sip_api 8.1 Name: python3-sip -Version: 4.13.2 +Version: 4.13.3 Release: 0 Summary: SIP tool to use python sip bindings License: GPL-2.0 or GPL-3.0 or SUSE-SIP @@ -38,6 +39,7 @@ BuildRequires: c++_compiler BuildRequires: python3 BuildRequires: python3-devel +Provides: python3-sip(api) = %python_sip_api Requires(pre): python3 Requires: python3 %if 0%{?suse_version} > 1140 @@ -82,6 +84,16 @@ python3 configure.py --debug CFLAGS+="%{optflags}" CXXFLAGS+="%{optflags}" LIBS+="-lpython%{py3_ver}%{py3_abi}" make %{?_smp_mflags} +sip_major=$(grep "define SIP_API_MAJOR_NR" siplib/sip.h.in | awk '{print $3}') +sip_minor=$(grep "define SIP_API_MINOR_NR" siplib/sip.h.in | awk '{print $3}') + +if test "%python_sip_api" != "$sip_major.$sip_minor"; then + echo "API version was changed to $sip_major.$sip_minor" + exit 1 +fi + +echo "%%requires_python3_sip_api Requires: python3-sip(api) = $sip_major.$sip_minor" > macros.%name + %install %{make_install} @@ -93,6 +105,8 @@ # sip executable is provided by python-sip-bin to avoid conflicts rm %{buildroot}%{_bindir}/sip +install -m 644 -D macros.%name %{buildroot}/%{_sysconfdir}/rpm/macros.%name + %files %defattr(-,root,root,-) %doc README @@ -101,6 +115,7 @@ %files devel %defattr(-,root,root,-) %doc NEWS LICENSE* doc/ +%config %{_sysconfdir}/rpm/macros.%name %{py3_incdir}/sip.h %{python3_sitearch}/sipconfig.py %{python3_sitearch}/sipdistutils.py ++++++ sip-4.13.2.tar.gz -> sip-4.13.3.tar.gz ++++++ ++++ 9009 lines of diff (skipped) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
