SHA256
1
0
forked from pool/python-sip

Accepting request 406271 from home:frispete:PyQt5

Here's an important fix for this package:

Due to deprecation of the timestamp option, the logic is reversed by
this patch, resulting in:

sip: Deprecation warning: the -T flag is ignored and deprecated

on every invocation. (Try it!)

As if that weren't enough, the new PyQt5 version makes use of a new 
sip switch -f, that turns this warning into an error, resulting in a 
complete operational dysfunctionality.

- removed build-compare.diff: it is the default since 4.18 anyway
- disable-rpaths.diff refreshed

- removed build-compare.diff: it is the default since 4.18 anyway
- disable-rpaths.diff refreshed

OBS-URL: https://build.opensuse.org/request/show/406271
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt/python-sip?expand=0&rev=136
This commit is contained in:
Ismail Dönmez 2016-07-04 14:04:10 +00:00 committed by Git OBS Bridge
parent 9f4dc17600
commit a752830313
7 changed files with 19 additions and 22 deletions

View File

@ -1,11 +0,0 @@
--- sipgen/main.c
+++ sipgen/main.c
@@ -78,7 +78,7 @@
kwArgs = NoKwArgs;
protHack = FALSE;
docs = FALSE;
- timestamp = TRUE;
+ timestamp = FALSE;
/* Parse the command line. */
optnr = 1;

View File

@ -1,6 +1,8 @@
--- siputils.py
+++ siputils.py
@@ -818,6 +818,7 @@
Index: b/siputils.py
===================================================================
--- a/siputils.py
+++ b/siputils.py
@@ -926,6 +926,7 @@ class Makefile:
rpaths is the cannonical list of rpaths.
"""
flags = []

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jul 4 05:09:07 UTC 2016 - hpj@urpla.net
- removed build-compare.diff: it is the default since 4.18 anyway
- disable-rpaths.diff refreshed
-------------------------------------------------------------------
Wed May 11 14:28:39 UTC 2016 - termim@gmail.com

View File

@ -27,8 +27,6 @@ Url: http://www.riverbankcomputing.com/software/sip/introa
Source0: sip-%{version}.tar.gz
# PATCH-FIX-OPENSUSE disable-rpaths.diff -- Disable rpaths
Patch0: disable-rpaths.diff
# PATCH-FIX-OPENSUSE build-compare.diff cmorve69@yahoo.es -- Fix build-compare
Patch1: build-compare.diff
BuildRequires: c++_compiler
BuildRequires: python
BuildRequires: python-devel
@ -63,8 +61,7 @@ own sip bindings.
%prep
%setup -q -n sip-%{version}
%patch0
%patch1
%patch0 -p1
%build
export CFLAGS="%{optflags}"

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jul 4 05:09:07 UTC 2016 - hpj@urpla.net
- removed build-compare.diff: it is the default since 4.18 anyway
- disable-rpaths.diff refreshed
-------------------------------------------------------------------
Wed May 11 14:30:46 UTC 2016 - termim@gmail.com

View File

@ -30,8 +30,6 @@ Url: http://www.riverbankcomputing.com/software/sip/intro
Source0: sip-%{version}.tar.gz
# PATCH-FIX-OPENSUSE disable-rpaths.diff -- Disable rpaths
Patch0: disable-rpaths.diff
# PATCH-FIX-OPENSUSE build-compare.diff cmorve69@yahoo.es -- Fix build-compare
Patch1: build-compare.diff
BuildRequires: c++_compiler
BuildRequires: python3-devel
Requires(pre): python3
@ -66,8 +64,7 @@ own sip bindings.
%prep
%setup -q -n sip-%{version}
%patch0
%patch1
%patch0 -p1
%build
export CFLAGS="%{optflags}"

0
python3-sip.spec.changes Normal file
View File