Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gutenprint for openSUSE:Factory 
checked in at 2023-12-03 20:49:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gutenprint (Old)
 and      /work/SRC/openSUSE:Factory/.gutenprint.new.25432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gutenprint"

Sun Dec  3 20:49:00 2023 rev:35 rq:1130500 version:5.3.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/gutenprint/gutenprint.changes    2023-04-25 
16:44:36.814863420 +0200
+++ /work/SRC/openSUSE:Factory/.gutenprint.new.25432/gutenprint.changes 
2023-12-03 20:49:20.834952856 +0100
@@ -1,0 +2,6 @@
+Sat Nov 25 17:02:28 UTC 2023 - Bernhard Wiedemann <[email protected]>
+
+- Add reproducible.patch to override build date (boo#1047218)
+- drop config.summary with build host name (boo#1084909)
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

BETA DEBUG BEGIN:
  New:
- Add reproducible.patch to override build date (boo#1047218)
- drop config.summary with build host name (boo#1084909)
BETA DEBUG END:

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

Other differences:
------------------
++++++ gutenprint.spec ++++++
--- /var/tmp/diff_new_pack.3HpePu/_old  2023-12-03 20:49:21.722985476 +0100
+++ /var/tmp/diff_new_pack.3HpePu/_new  2023-12-03 20:49:21.722985476 +0100
@@ -98,6 +98,8 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 Source0:        
http://downloads.sourceforge.net/gimp-print/%{name}-%{version}.tar.bz2
+# PATCH-FIX-UPSTREAM bmwiedemann 
https://sourceforge.net/p/gimp-print/source/merge-requests/9/
+Patch0:         reproducible.patch
 # How to get Source0 directly:
 # wget --no-check-certificate -O gutenprint-5.3.4.tar.bz2 
https://sourceforge.net/projects/gimp-print/files/gutenprint-5.3/5.3.4/gutenprint-5.3.4.tar.bz2
 # Patch0...Patch9 is for patches from upstream:
@@ -135,6 +137,7 @@
 %prep
 # Be quiet when unpacking:
 %setup -q -n gutenprint-%{tarball_version}
+%patch0 -p1
 
 %build
 #autoreconf -fvi
@@ -203,6 +206,7 @@
 mv $RPM_BUILD_ROOT/%{_bindir}/testpattern 
$RPM_BUILD_ROOT/%{_libdir}/gutenprint/%{gutenprintmajor}
 # Remove dispensable .po files (only the .mo files are needed on the 
end-users's system):
 rm $RPM_BUILD_ROOT/usr/share/locale/*/gutenprint_*.po
+rm $RPM_BUILD_ROOT%_libdir/gutenprint/*/config.summary # hostname in here made 
results vary
 %find_lang gutenprint
 
 %post

++++++ reproducible.patch ++++++
https://sourceforge.net/p/gimp-print/source/merge-requests/9/ merged

commit cd85016230120da0db71c98e375b37780242ef56
Author: Bernhard M. Wiedemann <[email protected]>
Date:   Mon Jun 26 08:11:03 2023 +0200

    Allow to override build date with SOURCE_DATE_EPOCH
    
    in order to make builds reproducible.
    See https://reproducible-builds.org/ for why this is good
    and https://reproducible-builds.org/specs/source-date-epoch/
    for the definition of this variable.
    
    Also consistently use ISO 8601 date format to be understood everywhere.
    
    Also use UTC to be independent of timezone.
    
    This patch was done while working on reproducible builds for openSUSE.

diff --git a/configure.ac b/configure.ac
index 6e2d123d..9a749507 100644
--- a/configure
+++ b/configure
@@ -1202,7 +1202,10 @@ echo "$PACKAGE_BUGREPORT" |tee -a config.summary
 echo |tee -a config.summary
 echo "================================================================" |tee 
-a config.summary
 echo "  Release: $PACKAGE_STRING generated on $RELEASE_DATE" |tee -a 
config.summary
-echo "  Generated at `date` by $LOGNAME" |tee -a config.summary
+DATE_FMT="+%Y-%m-%dT%H:%M:%S+0000"
+SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-$(date +%s)}"
+BUILD_DATE=$(date -u -d "@$SOURCE_DATE_EPOCH" "$DATE_FMT" 2>/dev/null || date 
-u -r "$SOURCE_DATE_EPOCH" "$DATE_FMT" 2>/dev/null || date -u "$DATE_FMT")
+echo "  Generated at $BUILD_DATE by $LOGNAME" |tee -a config.summary
 echo |tee -a config.summary
 echo "  Features:" |tee -a config.summary
 if test "$BUILD_CUPS" != "no" ; then

Reply via email to