[libparse-http-useragent-perl] 03/10: Drop new-version.pm.patch, applied upstream.

gregor herrmann gregoa at debian.org
Mon Jan 1 22:49:27 UTC 2018


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

gregoa pushed a commit to branch master
in repository libparse-http-useragent-perl.

commit 5a4501a03073fbf2259af08b386a9728b2c14756
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Jan 1 23:30:01 2018 +0100

    Drop new-version.pm.patch, applied upstream.
---
 debian/patches/new-version.pm.patch | 45 -------------------------------------
 debian/patches/series               |  1 -
 2 files changed, 46 deletions(-)

diff --git a/debian/patches/new-version.pm.patch b/debian/patches/new-version.pm.patch
deleted file mode 100644
index 5f4977e..0000000
--- a/debian/patches/new-version.pm.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-Description: replace _ with .
- version->numify() doesn't treat underscores as a
- tuple separator anymore but simply ignores them.
- .
- - raw version: 1.6.0_21
- - old version->numify: 1.006000_021
- - new version->numify: 1.006021
- .
- By converting underscores to dots we get 1.006021 consistently independent
- of the version of version.pm.
-Origin: vendor
-Bug: https://rt.cpan.org/Public/Bug/Display.html?id=112106
-Bug-Debian: https://bugs.debian.org/825611
-Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=112106
-Author: gregor herrmann <gregoa at debian.org>
-Last-Update: 2016-12-22
-Applied-Upstream: in v0.40_02, according to RT#112106
-
---- a/t/data/robot/1
-+++ b/t/data/robot/1
-@@ -177,7 +177,7 @@
- 
- parser      => 'generic_name_version',
- version_raw => '1.6.0_21',
--version     => '1.006000_021',
-+version     => '1.006000021',
- name        => 'Java',
- generic     => 1,
- 
---- a/lib/Parse/HTTP/UserAgent.pm
-+++ b/lib/Parse/HTTP/UserAgent.pm
-@@ -265,6 +265,13 @@
-         push @removed, '-' x $rc if INSIDE_VERBOSE_TEST;
-     }
- 
-+    # convert _ to .
-+    # version.pm has changed its interpretation of versions with underlines
-+    # cf. https://bugs.debian.org/825611
-+    if ( my $rc = $v =~ tr/_/./ ) {
-+        push @removed, '-' x $rc if INSIDE_VERBOSE_TEST;
-+    }
-+
-     # Finally, be aggressive to prevent dying on bogus stuff.
-     # It's interesting how people provide highly stupid version "numbers".
-     # Version parameters are probably more stupid than the UA string itself.
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index ed5cd4c..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-new-version.pm.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libparse-http-useragent-perl.git



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