Hello community, here is the log from the commit of package rrdtool for openSUSE:Factory checked in at 2015-03-16 09:37:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rrdtool (Old) and /work/SRC/openSUSE:Factory/.rrdtool.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rrdtool" Changes: -------- --- /work/SRC/openSUSE:Factory/rrdtool/rrdtool.changes 2014-12-06 13:45:18.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.rrdtool.new/rrdtool.changes 2015-03-16 09:37:15.000000000 +0100 @@ -1,0 +2,12 @@ +Tue Mar 10 11:26:06 UTC 2015 - [email protected] + +- add rddtool.changes to sources list + +------------------------------------------------------------------- +Wed Mar 4 15:35:01 UTC 2015 - [email protected] + +- modify a %prep phase to replace all timestamps in *.c and *.h + with the date and time obtained from the last changelog entry + bnc#915946 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rrdtool.spec ++++++ --- /var/tmp/diff_new_pack.bBhgps/_old 2015-03-16 09:37:16.000000000 +0100 +++ /var/tmp/diff_new_pack.bBhgps/_new 2015-03-16 09:37:16.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package rrdtool # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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,7 @@ Source2: sysconfig.rrdcached Source4: rrdcached-systemd-pre Source5: rrdcached.service +Source99: %{name}.changes Url: http://oss.oetiker.ch/rrdtool/ Summary: A tool for data logging and analysis License: GPL-2.0+ @@ -161,6 +162,10 @@ %patch11 popd #cgilib %patch12 -p1 +modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")" +DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" +TIME="\"$(date -d "${modified}" "+%%R")\"" +find . -name '*.[ch]' | xargs sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" %build # first prepare cgilib -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
