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:
e9854e3
)
- always add self-provides
author
Michael Schröder
<mls@suse.de>
Fri, 4 Apr 2008 15:56:01 +0000
(15:56 +0000)
committer
Michael Schröder
<mls@suse.de>
Fri, 4 Apr 2008 15:56:01 +0000
(15:56 +0000)
Build/Deb.pm
patch
|
blob
|
history
diff --git
a/Build/Deb.pm
b/Build/Deb.pm
index
3037437
..
9915433
100644
(file)
--- a/
Build/Deb.pm
+++ b/
Build/Deb.pm
@@
-221,7
+221,7
@@
sub query {
my $src = $name;
$src = $res{'SOURCE'} if $res{'SOURCE'};
my @provides = split(',\s*', $res{'PROVIDES'} || '');
- push @provides, "$name = $res{'VERSION'}"
unless grep {/^\Q$name\E(?: |$)/} @provides
;
+ push @provides, "$name = $res{'VERSION'}";
my @depends = split(',\s*', $res{'DEPENDS'} || '');
my @predepends = split(',\s*', $res{'PRE-DEPENDS'} || '');
push @depends, @predepends;