Package: libfile-stripnondeterminism-perl
Version: 0.028-1
Tags: patch

.par files are Zip archives 
(http://search.cpan.org/~rschupp/PAR-Repository-0.21/lib/PAR/Repository/Zip.pm).

This patch should allow barnowl to build reproducibly.

---
 lib/File/StripNondeterminism.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/File/StripNondeterminism.pm b/lib/File/StripNondeterminism.pm
index 8648a3c..cc36bcb 100644
--- a/lib/File/StripNondeterminism.pm
+++ b/lib/File/StripNondeterminism.pm
@@ -100,7 +100,7 @@ sub get_normalizer_for_file {
                  
\&File::StripNondeterminism::handlers::javaproperties::normalize;
        }
        # zip
-       if (m/\.(zip|pk3|epub|whl|xpi|htb|zhfst)$/
+       if (m/\.(zip|pk3|epub|whl|xpi|htb|zhfst|par)$/
                && _get_file_type($_) =~ m/Zip archive data|EPUB document/) {
                return \&File::StripNondeterminism::handlers::zip::normalize;
        }
-- 
2.11.0

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to