This is an automated email from the git hooks/post-receive script.

ntyni pushed a commit to branch master
in repository libperl-apireference-perl.

commit 3a6c026c474d9654f94dc8c0a4446de94dbb73fe
Author: Niko Tyni <nt...@debian.org>
Date:   Sat Dec 5 14:43:02 2015 +0200

    Make the stored data reproducible between builds
    
    The 'canonical' option makes Sereal::Encoder produce serialized data
    structures that don't vary between builds.  This makes the build
    result reproducible.
    
    Closes: #807111
---
 ...e-stored-data-reproducible-between-builds.patch | 29 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 30 insertions(+)

diff --git 
a/debian/patches/0001-Make-the-stored-data-reproducible-between-builds.patch 
b/debian/patches/0001-Make-the-stored-data-reproducible-between-builds.patch
new file mode 100644
index 0000000..6647fa6
--- /dev/null
+++ b/debian/patches/0001-Make-the-stored-data-reproducible-between-builds.patch
@@ -0,0 +1,29 @@
+From 1b27b06805350932aac7af089c793fef692ffd39 Mon Sep 17 00:00:00 2001
+From: Niko Tyni <nt...@debian.org>
+Date: Sat, 5 Dec 2015 14:43:02 +0200
+Subject: [PATCH] Make the stored data reproducible between builds
+
+The 'canonical' option makes Sereal::Encoder produce serialized data
+structures that don't vary between builds.  This makes the build
+result reproducible.
+
+Bug-Debian: https://bugs.debian.org/807111
+---
+ lib/Perl/APIReference.pm | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/lib/Perl/APIReference.pm b/lib/Perl/APIReference.pm
+index d10b05a..561ee9d 100644
+--- a/lib/Perl/APIReference.pm
++++ b/lib/Perl/APIReference.pm
+@@ -141,6 +141,7 @@ sub _dump_as_class {
+   require Sereal::Encoder;
+   my $data = $self->{'index'};
+   my $dump = Sereal::Encoder->new({
++    canonical      => 1,
+     compress       => Sereal::Encoder::SRL_ZLIB(),
+     compress_level => 9,
+     dedupe_strings => 1,
+-- 
+2.6.2
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4117ae9
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Make-the-stored-data-reproducible-between-builds.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libperl-apireference-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to