Hello community,

here is the log from the commit of package fvwm-themes for openSUSE:Factory 
checked in at 2017-05-06 18:30:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fvwm-themes (Old)
 and      /work/SRC/openSUSE:Factory/.fvwm-themes.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fvwm-themes"

Sat May  6 18:30:10 2017 rev:19 rq:492709 version:0.7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/fvwm-themes/fvwm-themes.changes  2014-11-04 
17:30:09.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.fvwm-themes.new/fvwm-themes.changes     
2017-05-06 18:30:22.305129066 +0200
@@ -1,0 +2,6 @@
+Mon May  1 20:14:03 UTC 2017 - [email protected]
+
+- Add reproducible.patch and override HOST in order to
+  make build fully reproducible
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

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

Other differences:
------------------
++++++ fvwm-themes.spec ++++++
--- /var/tmp/diff_new_pack.63NbMN/_old  2017-05-06 18:30:22.929041029 +0200
+++ /var/tmp/diff_new_pack.63NbMN/_new  2017-05-06 18:30:22.929041029 +0200
@@ -37,6 +37,8 @@
 Patch1:         %{name}-head.patch
 Patch2:         %{name}-configure.patch
 Patch3:         %{name}-destdir.patch
+# PATCH-FIX-UPSTREAM
+Patch4:         reproducible.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 
@@ -50,6 +52,7 @@
 %patch1 -p1 -b .head
 %patch2 -p1 -b .configure
 %patch3 -p1
+%patch4 -p1
 
 %build
 autoreconf --force --install
@@ -61,6 +64,7 @@
 make
 
 %install
+export HOST=openSUSE # override build hostname for fvwm-themes-config
 make DESTDIR=$RPM_BUILD_ROOT install
 for i in %{_prefix}/share/fvwm/themes/current/theme.cfg \
         %{_prefix}/share/fvwm/themes-rc \

++++++ reproducible.patch ++++++
Index: fvwm-themes-0.7.0/bin/fvwm-themes-config.in
===================================================================
--- fvwm-themes-0.7.0.orig/bin/fvwm-themes-config.in
+++ fvwm-themes-0.7.0/bin/fvwm-themes-config.in
@@ -2142,7 +2142,8 @@ sub generateThemesRc ($) {
        my $self = shift;
 
        my $verStr = sprintf("%-7s", $fvwmVersion);
-       my $curDateStr = `date +%d-%b-%Y`; chomp($curDateStr);
+       my $d = $ENV{SOURCE_DATE_EPOCH}?"-d@$ENV{SOURCE_DATE_EPOCH}":"";
+       my $curDateStr = `date -u $d +%d-%b-%Y`; chomp($curDateStr);
        my $userIdent = ($ENV{'USER'} || 'unknown') . '@' .
                ($ENV{'HOST'} || $ENV{'HOSTNAME'} || 'somewhere');
 
Index: fvwm-themes-0.7.0/configure.in
===================================================================
--- fvwm-themes-0.7.0.orig/configure.in
+++ fvwm-themes-0.7.0/configure.in
@@ -231,9 +231,9 @@ AC_SUBST(FT_FVWMFORM_DIR)dnl
 AC_SUBST(FT_LOCALE_DIR)dnl
 
 # migo: to match the one in FVWM...
-FT_VERSION_INFO="fvwm-themes $VERSION built on `date +'%b %d %Y at %T'`"
+FT_VERSION_INFO="fvwm-themes $VERSION built on `date -u 
-d@${SOURCE_DATE_EPOCH:-$(date +%s)} +'%b %d %Y at %T'`"
 AC_SUBST(FT_VERSION_INFO)dnl
-FT_BUILD_ID=`date '+build %d-%b-%Y %T'`
+FT_BUILD_ID=`date -u -d@${SOURCE_DATE_EPOCH:-$(date +%s)} '+build %d-%b-%Y %T'`
 AC_SUBST(FT_BUILD_ID)dnl
 
 SETTINGS_FILE='${FT_DATADIR}/themes/default/settings.cfg'

Reply via email to