diff options
author | Ruediger Oertel <ro@suse.de> | 2008-10-21 22:53:34 +0000 |
---|---|---|
committer | Ruediger Oertel <ro@suse.de> | 2008-10-21 22:53:34 +0000 |
commit | 990cad01df9cd7d7edc171d512a35c9b92950bbd (patch) | |
tree | 254df1bec1d4c30a306f2b954fff664cedfa3efd /mkbaselibs | |
parent | c3de94d7a35cd3d5ddbf17d2392cdb4945d8e4b7 (diff) | |
download | obs-build-990cad01df9cd7d7edc171d512a35c9b92950bbd.tar.gz obs-build-990cad01df9cd7d7edc171d512a35c9b92950bbd.tar.bz2 obs-build-990cad01df9cd7d7edc171d512a35c9b92950bbd.zip |
Generate debuginfo packages for baselibs (bnc #396196) (from jblunck)
Diffstat (limited to 'mkbaselibs')
-rwxr-xr-x | mkbaselibs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -408,6 +408,7 @@ sub parse_config { my $pm = $1; $pkgmatches = $pkgname =~ /$pm/; $match1 = $1 if defined $1; + $pkghasmatched |= $pkgmatches; next; } if (/^package\s+(.*?)$/) { @@ -496,6 +497,9 @@ for my $rpm (splice @rpms) { $rpmn =~ s/-[^-]+-[^-]+\.[^\.]+\.rpm$/\.rpm/; $rpmn =~ s/\.rpm$//; push @rpms, $rpm if $goodpkgs{$rpmn}; + if ($rpmn =~ s/-debuginfo$//) { + push @rpms, $rpm if $goodpkgs{$rpmn}; + } } for (@rpms) { die("$_: need absolute path to rpm\n") unless /^\//; |