diff --git a/python-sip.changes b/python-sip.changes index f17c7f6..025967b 100644 --- a/python-sip.changes +++ b/python-sip.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Feb 16 18:48:11 UTC 2017 - termim@gmail.com + +- Update to 4.19.1 + * Added the %PreMethodCode directive. + * Added sipEnableGC() to the C API. + * Added the -D command line option so that the generated code is + aware of Python debug builds. + ------------------------------------------------------------------- Tue Jan 3 19:07:05 UTC 2017 - termim@gmail.com diff --git a/python-sip.spec b/python-sip.spec index 464d5ab..fa966e1 100644 --- a/python-sip.spec +++ b/python-sip.spec @@ -16,9 +16,9 @@ # -%define python_sip_api 12.0 +%define python_sip_api 12.1 Name: python-sip -Version: 4.19 +Version: 4.19.1 Release: 0 Summary: SIP tool to use python sip bindings License: GPL-2.0 or GPL-3.0 or SUSE-SIP diff --git a/python3-sip.changes b/python3-sip.changes index f51a8ae..253f7b0 100644 --- a/python3-sip.changes +++ b/python3-sip.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Mon Feb 20 13:34:17 UTC 2017 - dimstar@opensuse.org + +- Use pkgconfig to find the correct lib to link for python3. +- Properly define py3_incdir. + +------------------------------------------------------------------- +Thu Feb 16 18:48:11 UTC 2017 - termim@gmail.com + +- Update to 4.19.1 + * Added the %PreMethodCode directive. + * Added sipEnableGC() to the C API. + * Added the -D command line option so that the generated code is + aware of Python debug builds. + ------------------------------------------------------------------- Tue Jan 3 19:08:18 UTC 2017 - termim@gmail.com diff --git a/python3-sip.spec b/python3-sip.spec index 0dafb9a..484d3c1 100644 --- a/python3-sip.spec +++ b/python3-sip.spec @@ -16,12 +16,10 @@ # -%define python_sip_api 12.0 -%if 0%{?suse_version} == 1220 -%define py3_incdir %{_includedir}/python3.2mu -%endif +%define python_sip_api 12.1 +%define py3_incdir %(python3 -c "from distutils import sysconfig; print (sysconfig.get_python_inc())") Name: python3-sip -Version: 4.19 +Version: 4.19.1 Release: 0 Summary: SIP tool to use python sip bindings License: GPL-2.0 or GPL-3.0 or SUSE-SIP @@ -70,7 +68,7 @@ own sip bindings. export CFLAGS="%{optflags}" export CXXFLAGS="%{optflags}" # Link against libpython (fixes bnc#756282 and bnc#721280) -python3 configure.py --debug CFLAGS+="%{optflags}" CXXFLAGS+="%{optflags}" LIBS+="-lpython%{py3_ver}%{py3_abiflags}" +python3 configure.py --debug CFLAGS+="%{optflags}" CXXFLAGS+="%{optflags}" LIBS+="$(pkg-config --libs python3)" make %{?_smp_mflags} sip_major=$(grep "define SIP_API_MAJOR_NR" siplib/sip.h.in | awk '{print $3}') diff --git a/sip-4.19.1.tar.gz b/sip-4.19.1.tar.gz new file mode 100644 index 0000000..aa5669f --- /dev/null +++ b/sip-4.19.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:501852b8325349031b769d1c03d6eab04f7b9b97f790ec79f3d3d04bf065d83e +size 1000644 diff --git a/sip-4.19.tar.gz b/sip-4.19.tar.gz deleted file mode 100644 index edcb373..0000000 --- a/sip-4.19.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:014bf55f653e0d8bcc582705ef4fbd61e0859a36e959ab46d8fa060cdf0b5e27 -size 1009474