Hello community,

here is the log from the commit of package arj for openSUSE:Factory checked in 
at 2017-12-18 08:59:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/arj (Old)
 and      /work/SRC/openSUSE:Factory/.arj.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "arj"

Mon Dec 18 08:59:24 2017 rev:2 rq:557601 version:3.10.22

Changes:
--------
--- /work/SRC/openSUSE:Factory/arj/arj.changes  2017-11-29 10:53:13.867406890 
+0100
+++ /work/SRC/openSUSE:Factory/.arj.new/arj.changes     2017-12-18 
08:59:28.734882942 +0100
@@ -1,0 +2,5 @@
+Sat Dec 16 05:45:48 UTC 2017 - bwiedem...@suse.com
+
+- Add arj-3.10.22-reproducible.patch to not include build date (boo#1047218)
+
+-------------------------------------------------------------------

New:
----
  arj-3.10.22-reproducible.patch

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

Other differences:
------------------
++++++ arj.spec ++++++
--- /var/tmp/diff_new_pack.EPXBKt/_old  2017-12-18 08:59:29.346853400 +0100
+++ /var/tmp/diff_new_pack.EPXBKt/_new  2017-12-18 08:59:29.350853206 +0100
@@ -32,6 +32,8 @@
 Patch2:         arj-3.10.22-custom-printf.patch
 # Filed into upstream bugtracker as 
https://sourceforge.net/tracker/?func=detail&aid=2853421&group_id=49820&atid=457566
 Patch3:         arj-3.10.22-quotes.patch
+# PATCH-FIX-OPENSUSE -- make build reproducible
+Patch4:         arj-3.10.22-reproducible.patch
 BuildRequires:  autoconf
 
 %description
@@ -47,6 +49,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 for i in debian/patches/00*.patch; do
   patch -p1 < $i

++++++ arj-3.10.22-reproducible.patch ++++++
Author: Bernhard M. Wiedemann <bwiedemann suse de>
Date: 2017-12-15

Index: arj-3.10.22/today.c
===================================================================
--- arj-3.10.22.orig/today.c
+++ arj-3.10.22/today.c
@@ -44,8 +44,8 @@ int main(int argc, char **argv)
   out_name[++l]='\0';
  }
  strcat(out_name, "date_sig.c");
- cur_unixtime=time(NULL);
- stm=localtime(&cur_unixtime);
+ cur_unixtime=1119484800;
+ stm=gmtime(&cur_unixtime);
  if(!stricmp(argv[1], "en"))
   sprintf(date_sig, "[%02d %s %04d]", stm->tm_mday, months_en[stm->tm_mon], 
stm->tm_year+1900);
  else if(!stricmp(argv[1], "fr"))

Reply via email to