Hello community,

here is the log from the commit of package x3270 for openSUSE:Factory checked 
in at 2020-11-11 20:46:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/x3270 (Old)
 and      /work/SRC/openSUSE:Factory/.x3270.new.26437 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "x3270"

Wed Nov 11 20:46:22 2020 rev:41 rq:847546 version:3.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/x3270/x3270.changes      2020-04-21 
13:11:55.748963288 +0200
+++ /work/SRC/openSUSE:Factory/.x3270.new.26437/x3270.changes   2020-11-11 
20:46:26.663649618 +0100
@@ -1,0 +2,5 @@
+Mon Nov  9 07:28:01 UTC 2020 - Bernhard Wiedemann <bwiedem...@suse.com>
+
+- Add reproducible.patch to override build date (boo#1047218)
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

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

Other differences:
------------------
++++++ x3270.spec ++++++
--- /var/tmp/diff_new_pack.H1cd6o/_old  2020-11-11 20:46:27.807650753 +0100
+++ /var/tmp/diff_new_pack.H1cd6o/_new  2020-11-11 20:46:27.811650757 +0100
@@ -26,6 +26,7 @@
 License:        MIT
 Group:          System/X11/Terminals
 URL:            http://x3270.bgp.nu
+#Git-Clone:     https://github.com/pmattes/x3270
 Source0:        http://download.sourceforge.net/%{name}/%{_fullname}-src.tgz
 Source1:        http://download.sourceforge.net/%{name}/x026-%{_x026ver}.tgz
 Source2:        x3270.desktop
@@ -35,6 +36,7 @@
 Patch105:       x3270-missing-include.patch
 Patch106:       x3270-missing-file.patch
 Patch108:       mkversion.patch
+Patch109:       reproducible.patch
 BuildRequires:  bdftopcf
 BuildRequires:  fdupes
 BuildRequires:  fontpackages-devel
@@ -108,6 +110,7 @@
 for d in x3270 c3270 s3270 tcl3270 pr3287 ; do
 (cd $d
 %patch108 -p2
+%patch109 -p2
 )
 done
 

++++++ reproducible.patch ++++++
https://sourceforge.net/p/x3270/code/merge-requests/2/

commit f86253bc15060db29063c186b05dc9bbaa38593a
Author: Bernhard M. Wiedemann <bwiedem...@suse.de>
Date:   Sun Jun 18 19:49:43 2017 +0200

    allow to override build date
    
    to allow reproducible builds of x3270
    
    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.
    
    Note: this patch variant only works with GNU date
    
    leftover after incomplete merge in 7591b303beefed762c24386214beca432024c785

diff --git a/Common/mkversion.sh b/Common/mkversion.sh
index ad1c1067..4da3620a 100755
--- a/Common/mkversion.sh
+++ b/Common/mkversion.sh
@@ -50,7 +50,7 @@ user=${LOGNAME-$USER}
 # rpq.c will return this string of numbers in bcd format
 # It is OK to change the length (+ or -), but use
 # decimal (0-9) digits only. Length must be even number of digits.
-rpq_timestamp=`date +%Y%m%d%H%M%S`
+rpq_timestamp=`$date +%Y%m%d%H%M%S`
 
 app=${1-x3270}
 cat <<EOF
_______________________________________________
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org

Reply via email to