Skip to content

Commit

Permalink
mkdrpms: do not create debuginfo/source deltas
Browse files Browse the repository at this point in the history
This brings the code in sync with the OBS publisher.
  • Loading branch information
mlschroe committed Jan 22, 2016
1 parent 09d7d5b commit d40cb0d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mkdrpms
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ for my $dir (@ARGV) {
for my $file (lsrpms($dir)) {
my $q = query($file);
next unless $q;
next if $q->{'arch'} eq 'src' || $q->{'arch'} eq 'nosrc';
next if $q->{'name'} =~ /-debug(:?info|source)/; # no debug deltas
my $n = $q->{'name'}.'.'.$q->{'arch'};

for my $oq (@{$oldpkgs{$n} || []}) {
my $v = $oq->{'version'};
my $r = $oq->{'release'};
Expand Down

0 comments on commit d40cb0d

Please sign in to comment.