Skip to content
Commits on Source (8)
......@@ -7,6 +7,7 @@ dh_strip_nondeterminism - strip uninteresting, nondeterministic information from
=cut
use strict;
use warnings;
use B;
use File::Find;
use Debian::Debhelper::Dh_Lib;
......@@ -84,12 +85,14 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
verbose_print("Using $File::StripNondeterminism::canonical_time as canonical time");
foreach (@nondeterministic_files) {
my ($path, $normalize) = @$_;
verbose_print("Normalizing $path using " . handler_name($normalize));
eval { $normalize->($path) or nonquiet_print("Normalized $path"); 1; }
or error("$path: $@");
}
on_items_in_parallel(\@nondeterministic_files, sub {
foreach (@_) {
my ($path, $normalize) = @$_;
verbose_print("Normalizing $path using " . handler_name($normalize));
eval { $normalize->($path) or nonquiet_print("Normalized $path"); 1; }
or error("$path: $@");
}
});
}
=head1 SEE ALSO
......
strip-nondeterminism (1.1.0-1) unstable; urgency=medium
[ Holger Levsen ]
* Bump Standards-Version to 4.3.0
[ Igor Dvorzhak ]
* Parallelise dh_strip_nondeterminism script. (MR: !3)
-- Chris Lamb <lamby@debian.org> Sun, 13 Jan 2019 18:40:42 +0000
strip-nondeterminism (1.0.0-1) unstable; urgency=medium
* Ignore encrypted .zip files as we can never normalise them.
......
......@@ -25,7 +25,7 @@ use POSIX qw(tzset);
our($VERSION, $canonical_time, $clamp_time);
$VERSION = '1.0.0'; # <https://semver.org/>
$VERSION = '1.1.0'; # <https://semver.org/>
sub init() {
$ENV{'TZ'} = 'UTC';
......