1
Description: allow suffix on dumps
2
Since ABI/API dumps can be arch specific, we need to be able to store
3
a dump per arch for comparison using dh_acc. Debhelper already
4
supports .ARCH and .OS suffixes, hence allow suffixes on the dump in
5
abi-compliance-checker. Other ways to solve this are welcome.
6
Author: Dmitrijs Ledkovs <xnox@debian.org>
8
--- abi-compliance-checker-1.98.8.orig/abi-compliance-checker.pl
9
+++ abi-compliance-checker-1.98.8/abi-compliance-checker.pl
10
@@ -8362,7 +8362,7 @@ sub unpackDump($)
14
- elsif($FileName=~s/\Q.tar.gz\E\Z//g)
15
+ elsif($FileName=~s/\Q.tar.gz\E.*\Z//g)
17
if($OSgroup eq "windows")
18
{ # -xvzf option is not implemented in tar.exe (2003)
19
@@ -20326,7 +20326,7 @@ sub printErrorLog($)
23
- if(get_filename($_[0])=~/\A(.+)\.(abi|abidump|dump)(\.tar\.gz|\.zip|\.xml|)\Z/) {
24
+ if(get_filename($_[0])=~/\A(.+)\.(abi|abidump|dump)(\.tar\.gz|\.zip|\.xml|)(.+)\Z/) {