use '.drpm' suffix instead of '.delta.rpm'
authorLudwig Nussel <ludwig.nussel@suse.de>
Mon, 18 Oct 2010 14:15:44 +0000 (16:15 +0200)
committerLudwig Nussel <ludwig.nussel@suse.de>
Wed, 27 Oct 2010 13:16:27 +0000 (15:16 +0200)
'.drpm' is easier to handle as it doesn't match '*.rpm'

build
mkdrpms

diff --git a/build b/build
index 2f941c1..f647779 100755 (executable)
--- a/build
+++ b/build
@@ -2001,7 +2001,7 @@ if test -n "$RUNNING_IN_VM" -a -n "$VM_SWAP"; then
     args="--padstart 512 --padend 512 -v"
     case "$BUILDTYPE" in
        spec)
-           computeblocklists $args $TOPDIR/RPMS/*/*.rpm $TOPDIR/SRPMS/* > "$VM_SWAP"
+           computeblocklists $args $TOPDIR/RPMS/*/*.{d,}rpm $TOPDIR/SRPMS/* > "$VM_SWAP"
            ;;
        dsc)
            computeblocklists $args $TOPDIR/DEBS/*.deb $TOPDIR/SOURCES.DEB/* > "$VM_SWAP"
diff --git a/mkdrpms b/mkdrpms
index ca36261..1ea2972 100755 (executable)
--- a/mkdrpms
+++ b/mkdrpms
@@ -64,7 +64,7 @@ for my $dir (@ARGV) {
            $r .= '_'.$q->{'release'} unless $r eq $q->{'release'};
            my $on = $old->{'file'};
            my $nn = $q->{'file'};
-           my $dn = sprintf("%s-%s-%s.%s.delta.rpm", $q->{'name'}, $v, $r, $q->{'arch'});
+           my $dn = sprintf("%s-%s-%s.%s.drpm", $q->{'name'}, $v, $r, $q->{'arch'});
            print "$dn ... ";
            $dn = $dir.'/'.$dn;
            my $ret = system('makedeltarpm', $on, $nn, $dn);