diff --git a/build-compare.diff b/build-compare.diff new file mode 100644 index 0000000..925fa55 --- /dev/null +++ b/build-compare.diff @@ -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, diff --git a/python-sip.changes b/python-sip.changes index 1ee9c4b..ec16a53 100644 --- a/python-sip.changes +++ b/python-sip.changes @@ -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 diff --git a/python-sip.spec b/python-sip.spec index 89aa91f..c66f627 100644 --- a/python-sip.spec +++ b/python-sip.spec @@ -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"