From c8e129a1993753c031058ecb64105dfa2604705e Mon Sep 17 00:00:00 2001 From: Marcus Huewe Date: Fri, 15 Jan 2010 21:56:53 +0100 Subject: [PATCH] - fixed #570026 ("osc does not detect correctly provides and requires") don't remove braces in rpm provides/requires (it's only needed deb versions) --- Build.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build.pm b/Build.pm index f309448..74631c1 100644 --- a/Build.pm +++ b/Build.pm @@ -392,7 +392,7 @@ sub readdeps { while (@s) { if ($s[0] =~ /^[\(<=>|]/) { $ss[-1] .= " $s[0] $s[1]"; - $ss[-1] =~ s/\((.*)\)/$1/; + $ss[-1] =~ s/ \((.*)\)/ $1/; $ss[-1] =~ s/(<|>){2}/$1/; splice(@s, 0, 2); } else { -- 2.7.4