[dh-make-perl] 01/01: Finetune multiarch path compatible regexp further

Axel Beckert abe at deuxchevaux.org
Mon Sep 19 22:08:31 UTC 2016


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

abe pushed a commit to branch master
in repository dh-make-perl.

commit 7f5f8f1d89500da0741833b31f77921057831089
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Tue Sep 20 00:08:18 2016 +0200

    Finetune multiarch path compatible regexp further
    
    Gbp-Dch: Ignore
---
 lib/Debian/AptContents.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Debian/AptContents.pm b/lib/Debian/AptContents.pm
index bd27aff..cfe986a 100644
--- a/lib/Debian/AptContents.pm
+++ b/lib/Debian/AptContents.pm
@@ -233,9 +233,9 @@ sub read_cache {
                 next unless $file =~ s{
                     ^usr/
                     (?:share|lib)/
-                    (?:\S+-\S+-\S+/)?      # opt. arch. triplet, eg. x86_64-linux-gnu
                     (?:perl\d+/            # perl5/
                     | perl/(?:\d[\d.]+)/   # or perl/5.10/
+                    | \S+-\S+-\S+/perl\d+/(?:\d[\d.]+)/  # x86_64-linux-gnu/perl5/5.22/
                     )
                 }{}x;
                 $cache->{apt_contents}{$file} = exists $cache->{apt_contents}{$file}

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



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