The following commit has been merged in the master branch:
commit 23cbbfb41d2e13bd602f51274253195fee2a31ac
Author: Modestas Vainius <[email protected]>
Date:   Sat Jan 23 18:18:40 2010 +0200

    Dpkg::Shlibs::Symbol::parse_tagspec(): allow extra spaces before symbol tag 
specification.
    
    Make it possible to reparse a symbol specification generated with
    Dpkg::Shlibs::Symbol:get_symbolspec(1).

diff --git a/scripts/Dpkg/Shlibs/Symbol.pm b/scripts/Dpkg/Shlibs/Symbol.pm
index 2964f1d..2d27202 100644
--- a/scripts/Dpkg/Shlibs/Symbol.pm
+++ b/scripts/Dpkg/Shlibs/Symbol.pm
@@ -70,7 +70,7 @@ sub dclone {
 sub parse_tagspec {
     my ($self, $tagspec) = @_;
 
-    if ($tagspec =~ /^\((.*?)\)(.*)$/ && $1) {
+    if ($tagspec =~ /^\s*\((.*?)\)(.*)$/ && $1) {
        # (tag1=t1 value|tag2|...|tagN=tNp)
        # Symbols ()|= cannot appear in the tag names and values
        my $tagspec = $1;

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to