[libparse-debianchangelog-perl] 01/03: Add patch for compatibility with dpkg 1.18.8
gregor herrmann
gregoa at debian.org
Tue Jul 5 13:01:45 UTC 2016
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libparse-debianchangelog-perl.
commit 7d2665c1fccc3ba75d647a63575fae510d9e4b2d
Author: gregor herrmann <gregoa at debian.org>
Date: Tue Jul 5 14:57:33 2016 +0200
Add patch for compatibility with dpkg 1.18.8
which outputs a Timestamp field.
Closes: #829668
---
debian/patches/series | 1 +
debian/patches/timestamp-dpkg-1.18.8.patch | 37 ++++++++++++++++++++++++++++++
2 files changed, 38 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
index 1ee4c3a..2ca21f8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@ P-DC-Support-open-handles-as-input.patch
Build.PL-when-a-PO_BUILD_DATE-environment-variable-i.patch
Remove-support-for-broken-timezone.patch
html-rev_made-rel_author.patch
+timestamp-dpkg-1.18.8.patch
diff --git a/debian/patches/timestamp-dpkg-1.18.8.patch b/debian/patches/timestamp-dpkg-1.18.8.patch
new file mode 100644
index 0000000..d8f8046
--- /dev/null
+++ b/debian/patches/timestamp-dpkg-1.18.8.patch
@@ -0,0 +1,37 @@
+Description: Dpkg::Changelog outputs the Timestamp field since 1.18.8
+Origin: vendor
+Forwarded: no
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2016-07-05
+
+--- a/lib/Parse/DebianChangelog.pm
++++ b/lib/Parse/DebianChangelog.pm
+@@ -672,6 +672,10 @@
+
+ person that created the (first) entry
+
++=item Timestamp
++
++date (see below) as a Unix timestamp
++
+ =item Date
+
+ date of the (first) entry
+@@ -703,7 +707,7 @@
+ BEGIN {
+ my $i=100;
+ grep($FIELDIMPS{$_}=$i--,
+- qw(Source Version Distribution Urgency Maintainer Date Closes
++ qw(Source Version Distribution Urgency Maintainer Timestamp Date Closes
+ Changes));
+ $i=1;
+ grep($URGENCIES{$_}=$i++,
+@@ -720,7 +724,7 @@
+
+ my %f;
+ foreach my $field (qw( Urgency Source Version
+- Distribution Maintainer Date )) {
++ Distribution Maintainer Date Timestamp )) {
+ $f{$field} = $data->[0]{$field};
+ }
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libparse-debianchangelog-perl.git
More information about the Pkg-perl-cvs-commits
mailing list