Dominique Leuenberger 2017-02-21 12:36:41 +00:00 committed by Git OBS Bridge
commit 5b8e45b497
6 changed files with 33 additions and 11 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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}')

3
sip-4.19.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:501852b8325349031b769d1c03d6eab04f7b9b97f790ec79f3d3d04bf065d83e
size 1000644

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:014bf55f653e0d8bcc582705ef4fbd61e0859a36e959ab46d8fa060cdf0b5e27
size 1009474