[librpc-xml-perl] 01/02: Make the build reproducible by dropping XML timestamps

Niko Tyni ntyni at moszumanska.debian.org
Wed Jun 3 20:25:00 UTC 2015


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

ntyni pushed a commit to branch master
in repository librpc-xml-perl.

commit cac6e53007ca52cb7fba1778af1ba5bb20d5150e
Author: Niko Tyni <ntyni at debian.org>
Date:   Wed Jun 3 23:12:40 2015 +0300

    Make the build reproducible by dropping XML timestamps
    
    Patch by Reiner Herrmann <reiner at reiner-h.de>.
---
 ...emove-timestamps-from-generated-xml-files.patch | 25 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 26 insertions(+)

diff --git a/debian/patches/0002-Remove-timestamps-from-generated-xml-files.patch b/debian/patches/0002-Remove-timestamps-from-generated-xml-files.patch
new file mode 100644
index 0000000..306640f
--- /dev/null
+++ b/debian/patches/0002-Remove-timestamps-from-generated-xml-files.patch
@@ -0,0 +1,25 @@
+Subject: Make the build reproducible by dropping XML timestamps
+Author: Reiner Herrmann <reiner at reiner-h.de>
+Bug: https://bugs.debian.org/787206
+
+Index: librpc-xml-perl-0.78/etc/make_method
+===================================================================
+--- librpc-xml-perl-0.78.orig/etc/make_method
++++ librpc-xml-perl-0.78/etc/make_method
+@@ -363,7 +363,6 @@ sub write_file
+         }
+     }
+ 
+-    my $date = scalar localtime;
+     my %typemap = (
+         'm' => 'method',
+         p   => 'procedure',
+@@ -399,7 +398,7 @@ sub write_file
+ <?xml version="1.0" encoding="iso-8859-1"?>
+ <!DOCTYPE $tag SYSTEM "rpc-method.dtd">
+ <!--
+-    Generated automatically by $cmd $VERSION on $date
++    Generated automatically by $cmd $VERSION
+ 
+     Any changes made here will be lost.
+ -->
diff --git a/debian/patches/series b/debian/patches/series
index 71af6f7..42d2f3e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Explicitly-use-an-IPv4-socket-in-the-Net-Server-test.patch
+0002-Remove-timestamps-from-generated-xml-files.patch

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



More information about the Pkg-perl-cvs-commits mailing list