Accepting request 40407 from KDE:Qt

Copy from KDE:Qt/python-sip based on submit request 40407 from user prusnak

OBS-URL: https://build.opensuse.org/request/show/40407
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sip?expand=0&rev=30
This commit is contained in:
OBS User autobuild 2010-05-25 12:08:26 +00:00 committed by Git OBS Bridge
commit d2f42bd6dd
3 changed files with 24 additions and 1 deletions

16
build-compare.diff Normal file
View File

@ -0,0 +1,16 @@
Index: sipgen/gencode.c
===================================================================
--- sipgen/gencode.c.orig
+++ sipgen/gencode.c
@@ -12687,9 +12687,9 @@ static FILE *createFile(moduleDef *mod,
"/*\n"
" * %s\n"
" *\n"
-" * Generated by SIP %s on %s"
+" * Generated by SIP %s"
,description
- ,sipVersion,ctime(&now));
+ ,sipVersion);
if (mod->copying != NULL)
prcode(fp,

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 19 19:49:19 UTC 2010 - cmorve69@yahoo.es
- fix build-compare
-------------------------------------------------------------------
Fri Mar 26 18:49:41 CET 2010 - dmueller@suse.de

View File

@ -24,7 +24,7 @@ License: GPLv2+
Group: Development/Libraries/Python
Summary: SIP tool to use python sip bindings
Version: 4.10.1
Release: 1
Release: 2
%define rversion %version
Url: http://www.riverbankcomputing.com/software/sip/intro
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -32,6 +32,7 @@ Source0: sip-%{rversion}.tar.bz2
Patch0: disable-rpaths.diff
Patch2: fix-linking.diff
Patch3: fix-linking25.diff
Patch4: build-compare.diff
%py_requires
%description
@ -78,6 +79,7 @@ Authors:
%else
%patch3
%endif
%patch4
%build
export CFLAGS="$RPM_OPT_FLAGS"