[Git][reproducible-builds/strip-nondeterminism][master] 2 commits: update pyzip regex for latest file(1)

Mattia Rizzolo (@mattia) gitlab at salsa.debian.org
Mon Jan 2 10:49:12 UTC 2023



Mattia Rizzolo pushed to branch master at Reproducible Builds / strip-nondeterminism


Commits:
f1017c67 by FC Stegerman at 2023-01-01T22:14:22+01:00
update pyzip regex for latest file(1)

- - - - -
1c323026 by Mattia Rizzolo at 2023-01-02T11:48:21+01:00
Merge branch 'fix-pyzip' of salsa.debian.org:obfusk/strip-nondeterminism

MR: https://salsa.debian.org/reproducible-builds/strip-nondeterminism/-/merge_requests/15
Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


1 changed file:

- lib/File/StripNondeterminism.pm


Changes:

=====================================
lib/File/StripNondeterminism.pm
=====================================
@@ -111,7 +111,7 @@ sub get_normalizer_for_file($) {
 	}
 
 	# pyzip - check last due to call to file(1)
-	if (_get_file_type($_) =~ m/python3 script executable \(binary data\)/) {
+	if (_get_file_type($_) =~ m/python3 script executable \((Zip archive|binary data)\)/) {
 		my $handler = _handler('pyzip');
 		return $handler
 		  if File::StripNondeterminism::handlers::pyzip::is_pyzip_file($_);



View it on GitLab: https://salsa.debian.org/reproducible-builds/strip-nondeterminism/-/compare/4380d64acce35783ca05fc26879ecc9a64f1f0f6...1c323026cea4e6c34ec89943fcbd6252618f76db

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/strip-nondeterminism/-/compare/4380d64acce35783ca05fc26879ecc9a64f1f0f6...1c323026cea4e6c34ec89943fcbd6252618f76db
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20230102/e63c75f0/attachment.htm>


More information about the rb-commits mailing list