Hello community,

here is the log from the commit of package lsb-release for openSUSE:Factory 
checked in at 2017-06-22 10:34:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lsb-release (Old)
 and      /work/SRC/openSUSE:Factory/.lsb-release.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lsb-release"

Thu Jun 22 10:34:54 2017 rev:18 rq:504914 version:2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/lsb-release/lsb-release.changes  2016-06-03 
16:36:21.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.lsb-release.new/lsb-release.changes     
2017-06-22 10:34:55.419885490 +0200
@@ -1,0 +2,5 @@
+Mon Jun 19 16:11:39 UTC 2017 - [email protected]
+
+- Add reproducible.patch to drop current timestamps from man-page to make 
build reproducible
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

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

Other differences:
------------------
++++++ lsb-release.spec ++++++
--- /var/tmp/diff_new_pack.UwryKC/_old  2017-06-22 10:34:56.035798670 +0200
+++ /var/tmp/diff_new_pack.UwryKC/_new  2017-06-22 10:34:56.039798106 +0200
@@ -25,6 +25,8 @@
 Prefix:         /usr
 Source:         lsb-release-2.0.tar.bz2
 Patch:          lsb-release-2.0.dif
+# PATCH-FIX-OPENSUSE could be upstreamed if there is an upstream
+Patch1:         reproducible.patch
 BuildArch:      noarch
 Url:            http://www.linuxbase.org/
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -35,6 +37,7 @@
 %prep
 %setup -n lsb-release-2.0
 %patch
+%patch1 -p1
 
 %build
 # for openSUSE, the distributor is the openSUSE project

++++++ reproducible.patch ++++++
Index: lsb-release-2.0/help2man
===================================================================
--- lsb-release-2.0.orig/help2man
+++ lsb-release-2.0/help2man
@@ -173,7 +173,7 @@ my ($help_text, $version_text) = map {
        or die "$this_program: can't get `--$_' info from $ARGV[0]\n"
 } qw(help), $opt_version_key;
 
-my $date = strftime "%B %Y", localtime;
+my $date = strftime "%B %Y", gmtime($ENV{SOURCE_DATE_EPOCH} || time);
 (my $program = $ARGV[0]) =~ s!.*/!!;
 my $package = $program;
 my $version;
Index: lsb-release-2.0/Makefile
===================================================================
--- lsb-release-2.0.orig/Makefile
+++ lsb-release-2.0/Makefile
@@ -22,7 +22,7 @@ man: lsb_release.1.gz
 
 lsb_release.1.gz: lsb_release
        @./help2man -N --include ./lsb_release.examples 
--alt_version_key=program_version ./lsb_release >lsb_release.1
-       @gzip -9f lsb_release.1
+       @gzip -9fn lsb_release.1
 
 install: all
        install -D -m 644 lsb_release.1.gz ${mandir}/man1/lsb_release.1.gz

Reply via email to