Skip Menu |

This queue is for tickets about the Term-Size-Perl CPAN distribution.

Report information
The Basics
Id: 127333
Status: new
Priority: 0/
Queue: Term-Size-Perl

People
Owner: Nobody in particular
Requestors: bernhard+cpan [...] lsmod.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.031
Fixed in: (no value)



Subject: build results differ from timestamp
While working on reproducible builds for openSUSE, I found that our perl-Term-Size-Perl package differed for every build. This can be fixed with the below patch, but it might be even better to just drop that line. 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. --- Term-Size-Perl-0.031.orig/inc/Probe.pm +++ Term-Size-Perl-0.031/inc/Probe.pm @@ -105,7 +105,7 @@ my $PARAMS_TEMPLATE = <<PARAMS; package Term::Size::Perl::Params; -# created @{[scalar localtime]} +# created @{[scalar gmtime($ENV{SOURCE_DATE_EPOCH}||time)]} use vars qw(\$VERSION); \$VERSION = '@{[MM->parse_version('Perl.pm')]}';