Bug#925613: unblock: strip-nondeterminism/1.1.2-1
Mattia Rizzolo
mattia at debian.org
Wed Mar 27 15:07:41 GMT 2019
Package: release.debian.org
User: release.debian.org at packages.debian.org
Usertags: unblock
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear RT,
please consider unblocking strip-nondeterminism; the version in unstable
is a minimal thing fixing a single bug. Full diff:
diffstat for strip-nondeterminism-1.1.1 strip-nondeterminism-1.1.2
debian/changelog | 8 ++++++++
lib/File/StripNondeterminism.pm | 4 ++--
2 files changed, 10 insertions(+), 2 deletions(-)
diff -Nru strip-nondeterminism-1.1.1/debian/changelog strip-nondeterminism-1.1.2/debian/changelog
--- strip-nondeterminism-1.1.1/debian/changelog 2019-02-13 09:31:59.000000000 +0100
+++ strip-nondeterminism-1.1.2/debian/changelog 2019-03-12 18:47:40.000000000 +0100
@@ -1,3 +1,11 @@
+strip-nondeterminism (1.1.2-1) unstable; urgency=medium
+
+ * Call file(1) with the "--" argument placeholder to fix normalisation of
+ files starting with a hyphen.
+ (Closes: reproducible-builds/strip-nondeterminism#6, #924407)
+
+ -- Chris Lamb <lamby at debian.org> Tue, 12 Mar 2019 17:47:40 +0000
+
strip-nondeterminism (1.1.1-1) unstable; urgency=medium
* dh_strip_nondeterminism: Deduplicate hardlinks via stat(2) to avoid issues
diff -Nru strip-nondeterminism-1.1.1/lib/File/StripNondeterminism.pm strip-nondeterminism-1.1.2/lib/File/StripNondeterminism.pm
--- strip-nondeterminism-1.1.1/lib/File/StripNondeterminism.pm 2019-02-13 09:29:48.000000000 +0100
+++ strip-nondeterminism-1.1.2/lib/File/StripNondeterminism.pm 2019-03-12 18:47:00.000000000 +0100
@@ -25,7 +25,7 @@
our($VERSION, $canonical_time, $clamp_time);
-$VERSION = '1.1.1'; # <https://semver.org/>
+$VERSION = '1.1.2'; # <https://semver.org/>
sub init() {
$ENV{'TZ'} = 'UTC';
@@ -35,7 +35,7 @@
sub _get_file_type($) {
my $file=shift;
open(FILE, '-|') # handle all filenames safely
- || exec('file', $file)
+ || exec('file', '--', $file)
|| die "can't exec file: $!";
my $type=<FILE>;
close FILE;
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: https://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-builds/attachments/20190327/ffb413eb/attachment.sig>
More information about the Reproducible-builds
mailing list