Hello community,

here is the log from the commit of package mawk for openSUSE:Factory checked in 
at 2017-01-31 12:47:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mawk (Old)
 and      /work/SRC/openSUSE:Factory/.mawk.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mawk"

Changes:
--------
--- /work/SRC/openSUSE:Factory/mawk/mawk.changes        2015-11-24 
22:33:45.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.mawk.new/mawk.changes   2017-02-03 
17:50:00.756242741 +0100
@@ -1,0 +2,5 @@
+Mon Jan 23 04:57:42 UTC 2017 - [email protected]
+
+- Add reproducible.patch to allow for reproducible builds
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

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

Other differences:
------------------
++++++ mawk.spec ++++++
--- /var/tmp/diff_new_pack.5kNrzw/_old  2017-02-03 17:50:01.600123766 +0100
+++ /var/tmp/diff_new_pack.5kNrzw/_new  2017-02-03 17:50:01.604123202 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mawk
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2010 Guido Berhoerster.
 #
 # All modifications and additions to the file contributed by third parties
@@ -29,6 +29,8 @@
 Source0:        ftp://invisible-island.net/mawk/mawk-%{_upver}-%{_datever}.tgz
 Source1:        
ftp://invisible-island.net/mawk/mawk-%{_upver}-%{_datever}.tgz.asc
 Source2:        %{name}.keyring
+# PATCH-FIX-OPENSUSE -- bmwiedemann -- drop timestamp / for build-compare
+Patch0:         reproducible.patch
 BuildRequires:  update-alternatives
 Requires(post): update-alternatives
 Requires(preun): update-alternatives
@@ -43,6 +45,7 @@
 
 %prep
 %setup -q -n mawk-%{_upver}-%{_datever}
+%patch0 -p1
 chmod 755 examples/*
 
 %build



++++++ reproducible.patch ++++++
Index: mawk-1.3.4-20150503/makescan.c
===================================================================
--- mawk-1.3.4-20150503.orig/makescan.c
+++ mawk-1.3.4-20150503/makescan.c
@@ -96,7 +96,7 @@ scan_print(void)
     register int r;            /* row */
 
     printf("/*\n * %cMawkId%c\n * generated by makescan.c\n * date: %s */\n",
-          '$', '$', ctime(&now));
+          '$', '$', "Sun Jan  1 00:00:01 2017");
     printf("#include \"scancode.h\"\n");
     printf("/* *INDENT-OFF* */\n");
     printf("char scan_code[256] = {\n");

Reply via email to