Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Term-Size-Perl for
openSUSE:Factory checked in at 2021-06-21 20:36:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Term-Size-Perl (Old)
and /work/SRC/openSUSE:Factory/.perl-Term-Size-Perl.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Term-Size-Perl"
Mon Jun 21 20:36:10 2021 rev:2 rq:901207 version:0.031
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Term-Size-Perl/perl-Term-Size-Perl.changes
2021-02-03 19:55:16.317642018 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Term-Size-Perl.new.2625/perl-Term-Size-Perl.changes
2021-06-21 20:36:38.538696745 +0200
@@ -1,0 +2,5 @@
+Mon Jun 21 10:44:54 UTC 2021 - Bernhard Wiedemann <[email protected]>
+
+- Add reproducible.patch to override build date (boo#1047218)
+
+-------------------------------------------------------------------
New:
----
reproducible.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Term-Size-Perl.spec ++++++
--- /var/tmp/diff_new_pack.sUdG2C/_old 2021-06-21 20:36:39.006697338 +0200
+++ /var/tmp/diff_new_pack.sUdG2C/_new 2021-06-21 20:36:39.010697344 +0200
@@ -26,6 +26,7 @@
Url: http://search.cpan.org/dist/Term-Size-Perl/
Source0:
https://cpan.metacpan.org/authors/id/F/FE/FERREIRA/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
+Patch0: reproducible.patch
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -39,6 +40,7 @@
%prep
%setup -q -n %{cpan_name}-%{version}
+%autopatch -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
++++++ reproducible.patch ++++++
https://github.com/aferreira/cpan-Term-Size-Perl/pull/1.patch
>From a96031f8ed287e0bb31e2e9a29ffcfbe50b2e187 Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" <[email protected]>
Date: Thu, 4 Feb 2021 07:25:08 +0100
Subject: [PATCH] Allow to override build date with SOURCE_DATE_EPOCH
in order to make builds reproducible.
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.
See https://reproducible-builds.org/ for why this matters.
---
inc/Probe.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/inc/Probe.pm b/inc/Probe.pm
index 86728bc..5463535 100644
--- a/inc/Probe.pm
+++ b/inc/Probe.pm
@@ -105,7 +105,7 @@ my $PARAMS_TEMPLATE = <<PARAMS;
package Term::Size::Perl::Params;
-# created @{[scalar localtime]}
+# created @{[scalar localtime($ENV{SOURCE_DATE_EPOCH} or time)]}
use vars qw(\$VERSION);
\$VERSION = '@{[MM->parse_version('Perl.pm')]}';