summaryrefslogtreecommitdiff
path: root/mkdrpms
diff options
context:
space:
mode:
authorshuai.fu <shuai01.fu@samsung.com>2017-04-22 13:43:02 +0800
committershuai.fu <shuai01.fu@samsung.com>2017-04-22 13:44:05 +0800
commit794c348d0165d1406fd603d958bcbfc1fe62fa49 (patch)
tree7a54881bcad7dcc862eec79ada03b9e3500909c0 /mkdrpms
parente3da5fcdb300a12c57e4b0828f9fcc50140f48fd (diff)
downloadbuild-794c348d0165d1406fd603d958bcbfc1fe62fa49.tar.gz
build-794c348d0165d1406fd603d958bcbfc1fe62fa49.tar.bz2
build-794c348d0165d1406fd603d958bcbfc1fe62fa49.zip
Update to upstream 20160629
Change-Id: Idc31c269aec94e852b30885dee65a827b318b7a3 Signed-off-by: shuai.fu <shuai01.fu@samsung.com>
Diffstat (limited to 'mkdrpms')
-rwxr-xr-xmkdrpms3
1 files changed, 3 insertions, 0 deletions
diff --git a/mkdrpms b/mkdrpms
index a6ba730..eadca44 100755
--- a/mkdrpms
+++ b/mkdrpms
@@ -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'};