commit python-psycopg2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-psycopg2 for openSUSE:Factory checked in at 2016-03-16 10:34:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-psycopg2 (Old) and /work/SRC/openSUSE:Factory/.python-psycopg2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-psycopg2" Changes: -------- --- /work/SRC/openSUSE:Factory/python-psycopg2/python-psycopg2.changes 2015-02-25 02:18:38.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-psycopg2.new/python-psycopg2.changes 2016-03-16 10:34:59.000000000 +0100 @@ -1,0 +2,6 @@ +Wed Mar 9 10:29:20 UTC 2016 - bwiedemann@suse.com + +- use the year from source gzip header instead of current one + to make reproducible rpms + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-psycopg2.spec ++++++ --- /var/tmp/diff_new_pack.c9KUTu/_old 2016-03-16 10:35:00.000000000 +0100 +++ /var/tmp/diff_new_pack.c9KUTu/_new 2016-03-16 10:35:00.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-psycopg2 # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -55,6 +55,9 @@ %prep %setup -q -n psycopg2-%{version} +# use the year from source gzip header instead of current one to make reproducible rpms +year=$(perl -e 'sysread(STDIN, $h, 8); print (1900+(gmtime(unpack("l",substr($h,4))))[5])' < %{S:0}) +sed -i "s/^year =.*/year=$year/" doc/src/conf.py %build CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
participants (1)
-
root@hilbert.suse.de