projects
/
platform
/
upstream
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13a7278
)
- we need to fake a archpkg 'source' entry for poor OBS...
author
Michael Schroeder
<mls@suse.de>
Tue, 3 Apr 2012 16:26:03 +0000
(18:26 +0200)
committer
Michael Schroeder
<mls@suse.de>
Tue, 3 Apr 2012 16:26:03 +0000
(18:26 +0200)
Build/Arch.pm
patch
|
blob
|
history
diff --git
a/Build/Arch.pm
b/Build/Arch.pm
index
5c1139f
..
0b924f9
100644
(file)
--- a/
Build/Arch.pm
+++ b/
Build/Arch.pm
@@
-132,6
+132,9
@@
sub query {
if ($opts{'description'}) {
$ret->{'description'} = $vars{'pkgdesc'}->[0] if $vars{'pkgdesc'};
}
+ # arch packages don't seem to have a source :(
+ # fake it so that the package isn't confused with a src package
+ $ret->{'source'} = $ret->{'name'} if defined $ret->{'name'};
return $ret;
}