projects
/
tools
/
obs-build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01c97c6
)
- fixed #570026 ("osc does not detect correctly provides and requires")
author
Marcus Huewe
<suse-tux@gmx.de>
Fri, 15 Jan 2010 20:56:53 +0000
(21:56 +0100)
committer
Marcus Huewe
<suse-tux@gmx.de>
Fri, 15 Jan 2010 20:56:53 +0000
(21:56 +0100)
don't remove braces in rpm provides/requires (it's only needed deb versions)
Build.pm
patch
|
blob
|
history
diff --git
a/Build.pm
b/Build.pm
index
f309448
..
74631c1
100644
(file)
--- 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 {