Hello community,

here is the log from the commit of package cobbler for openSUSE:Factory checked 
in at 2016-03-18 21:42:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cobbler (Old)
 and      /work/SRC/openSUSE:Factory/.cobbler.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cobbler"

Changes:
--------
--- /work/SRC/openSUSE:Factory/cobbler/cobbler.changes  2015-02-06 
22:37:47.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.cobbler.new/cobbler.changes     2016-03-18 
21:42:30.000000000 +0100
@@ -1,0 +2,5 @@
+Wed Mar  9 17:38:45 UTC 2016 - bwiedem...@suse.com
+
+- Replace builddate with changelog date to fix build-compare (bsc#969538)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cobbler.spec ++++++
--- /var/tmp/diff_new_pack.cZzzUr/_old  2016-03-18 21:42:31.000000000 +0100
+++ /var/tmp/diff_new_pack.cZzzUr/_new  2016-03-18 21:42:31.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cobbler
 #
-# Copyright (c) 2015 SUSE LINUX Products 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
@@ -43,6 +43,7 @@
 Source0:        cobbler-%{version}.tar.gz
 Source1:        vendor-files.tar.bz2
 Source2:        fence_ipmitool.sh
+Source3:        %{name}.changes
 Patch2:         cobbler_web_config.diff
 %if 0%{?suse_version}
 Patch4:         grubby-compat.diff
@@ -192,6 +193,8 @@
 %endif
 
 rm -f $RPM_BUILD_ROOT/etc/cobbler/cobblerd
+changelogdate=$(perl -ne 'if(m/^((?:[A-Z][a-z]{2} )?[A-Z][a-z]{2} +\d+ 
\d+:\d+:\d+) (?:[A-Z]+ )?(\d{4})/) {print "$1 $2"; exit 0}' %{S:3} )
+sed -i "s/builddate = .*/builddate = $changelogdate/" 
$RPM_BUILD_ROOT/%{_sysconfdir}/cobbler/version
 
 %if 0%{?suse_version}
 mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/SuSEfirewall2.d


Reply via email to