opensuse:dl9pfs-build.git
6 years agoinit_buildsystem: copy_qemu: prefer $BUILD_DIR qemu-* over worker in /usr/bin master
James Perkins [Sat, 18 Sep 2010 00:15:26 +0000 (17:15 -0700)]
init_buildsystem: copy_qemu: prefer $BUILD_DIR qemu-* over worker in /usr/bin

copy_qemu is used to populate the virtual machine's rootfs with
/usr/bin/qemu-* files, used for executing cross-arch usermode emulators.

The build server's getbuildcode routine populates the VM's $BUILD_DIR
(/.build) directory with scripts.  If the server has also provided
qemu-* binaries there, copy them into the VM rootfs in preference to the
build host's /usr/bin/qemu-* binaries.

This change simplifies build worker qemu configuration.

Signed-off-by: James Perkins <james.perkins@linuxfoundation.org>
6 years agoinitvm: add targets to the Makefile to support compilation and install
James Perkins [Sat, 18 Sep 2010 00:09:34 +0000 (17:09 -0700)]
initvm: add targets to the Makefile to support compilation and install

Packaging can now make use of new initvm-build and initvm-install
targets.

Signed-off-by: James Perkins <james.perkins@linuxfoundation.org>
6 years agoUse initvm: Add recognition and use of initvm over initscript_qemu_vm
James Perkins [Fri, 17 Sep 2010 23:50:38 +0000 (16:50 -0700)]
Use initvm: Add recognition and use of initvm over initscript_qemu_vm

build
    - looks for and uses initvm in preference to initscript_qemu_vm

common_functions
    - check_use_emulator uses initvm in preference to initscript_qemu_vm

init_buildsystem
    - copy_qemu cleanup, qemu_register_binfmt and static install
- this is now based off the list of $EMULATOR_DEVS
- don't assume qemu-binfmt-conf.sh, bash-static or mount-static
  are present
    - after copy_qemu is called, prefer initvm over qemu-binfmt-conf.sh
      when initializing binfmts

Signed-off-by: James Perkins <james.perkins@linuxfoundation.org>
6 years agobuild-initvm: new files for static binary to register qemu binfmt_misc
James Perkins [Fri, 17 Sep 2010 23:18:19 +0000 (16:18 -0700)]
build-initvm: new files for static binary to register qemu binfmt_misc

Introduces initvm.c, which will be compiled by later to a binary,
$BUILD_DIR/initvm.  initvm will:

    1) mount proc and binfmt_misc and verify correct setup
    2) read qemu-reg from /.build or /usr/lib/build and for each line,
       install binfmt_misc support and verify success
    3) verify existence of /.build/build and run the build script

This functionality obviates the need for $BUILD_DIR/initscript_qemu_vm
and the bash-static and mount-static x86 packages, but does not remove
build's ability to use them.

Signed-off-by: James Perkins <james.perkins@linuxfoundation.org>
6 years agoadd openSUSE 11.4 config
Adrian Schröter [Fri, 4 Mar 2011 13:28:08 +0000 (14:28 +0100)]
add openSUSE 11.4 config

6 years ago- fix xen build for SLE 11 mktemp
Adrian Schröter [Tue, 1 Mar 2011 15:29:25 +0000 (16:29 +0100)]
- fix xen build for SLE 11 mktemp

6 years agorequire bsdtar for VMs
Ludwig Nussel [Thu, 20 Jan 2011 09:55:19 +0000 (10:55 +0100)]
require bsdtar for VMs

6 years agoset CACHE_DIR in common_functions
Ludwig Nussel [Thu, 10 Feb 2011 16:27:54 +0000 (17:27 +0100)]
set CACHE_DIR in common_functions

6 years agosetup more compilers for ccache, by Christopher Horler (Bug #670099)
Adrian Schröter [Tue, 8 Feb 2011 07:59:28 +0000 (08:59 +0100)]
setup more compilers for ccache, by Christopher Horler (Bug #670099)

6 years agoadd code comments
Ludwig Nussel [Fri, 4 Feb 2011 08:09:14 +0000 (09:09 +0100)]
add code comments

6 years ago[build] to check for QEMU Usermode handle, loop over and not
Martin Mohring [Sat, 5 Feb 2011 19:36:29 +0000 (20:36 +0100)]
[build] to check for QEMU Usermode handle, loop over  and not

6 years ago[build] be more verbose on kvm not working
Martin Mohring [Sat, 5 Feb 2011 19:27:08 +0000 (20:27 +0100)]
[build] be more verbose on kvm not working

6 years agouse special config for spectool as fallback
Ludwig Nussel [Wed, 12 Jan 2011 06:50:24 +0000 (07:50 +0100)]
use special config for spectool as fallback

6 years agomake size calculation simpler
Ludwig Nussel [Fri, 21 Jan 2011 07:48:35 +0000 (08:48 +0100)]
make size calculation simpler

6 years agoallow empty VM_SWAP
Ludwig Nussel [Fri, 21 Jan 2011 07:28:41 +0000 (08:28 +0100)]
allow empty VM_SWAP

6 years agovm_memory is superfluous atm
Ludwig Nussel [Wed, 12 Jan 2011 07:06:17 +0000 (08:06 +0100)]
vm_memory is superfluous atm

6 years agospec_add_patch: handle multiple patches at once
Ludwig Nussel [Thu, 20 Jan 2011 10:02:42 +0000 (11:02 +0100)]
spec_add_patch: handle multiple patches at once

6 years agoAdd armv7hl (hardfloat ABI) support. Beside armv7hl, there's also armv7nhl als compat...
Jan-Simon Möller [Mon, 17 Jan 2011 13:48:52 +0000 (06:48 -0700)]
Add armv7hl (hardfloat ABI) support. Beside armv7hl, there's also armv7nhl als compatible subarch with additional (neon) flags.

Tested-by: Martin Mohring <martin.mohring@5edatasoft.com>
Reviewed-by: Martin Mohring <martin.mohring@5edatasoft.com>
6 years agoSupport the <SPEC_REL> macro. This allows user values in the Release to be combined...
David Greaves [Fri, 21 Jan 2011 15:36:11 +0000 (15:36 +0000)]
Support the <SPEC_REL> macro. This allows user values in the Release to be combined with <CI_CNT> etc

Signed-off-by: Martin Mohring <martin.mohring@5edatasoft.com>
6 years agoUse $line instead of $l when there are so many $1 nearby
David Greaves [Fri, 21 Jan 2011 10:40:03 +0000 (10:40 +0000)]
Use $line instead of $l when there are so many $1 nearby

6 years agomake debtransform support packages with .tar.bz2 and .zip tarballs
Luboš Luňák [Wed, 15 Sep 2010 14:45:57 +0000 (16:45 +0200)]
make debtransform support packages with .tar.bz2 and .zip tarballs

http://lists.opensuse.org/opensuse-buildservice/2009-06/msg00193.html

6 years agoIn ext4 just axe the journal alltogether.
Cristian Rodríguez [Thu, 19 Aug 2010 19:06:27 +0000 (15:06 -0400)]
In ext4 just axe the journal alltogether.

6 years agopass BUILD_JOBS to DSC_BUILD_CMD
Fathi Boudra [Thu, 30 Dec 2010 11:20:47 +0000 (13:20 +0200)]
pass BUILD_JOBS to DSC_BUILD_CMD
allow parallel build for debian packages

6 years ago- also use --numeric-owner in bsdtar case
Michael Schroeder [Mon, 10 Jan 2011 15:46:13 +0000 (16:46 +0100)]
- also use --numeric-owner in bsdtar case

6 years agostrip XENID a bit more, the new xen tools would strip away the number otherwise
Adrian Schröter [Thu, 6 Jan 2011 11:23:29 +0000 (12:23 +0100)]
strip XENID a bit more, the new xen tools would strip away the number otherwise

6 years agoremove exit marker in cleanup_and_exit
Michael Schroeder [Wed, 5 Jan 2011 16:55:17 +0000 (17:55 +0100)]
remove exit marker in cleanup_and_exit

6 years agoxen.conf is not installable anymore
Adrian Schröter [Wed, 5 Jan 2011 16:54:39 +0000 (17:54 +0100)]
xen.conf is not installable anymore

6 years agoand now without a security issue
Adrian Schröter [Wed, 5 Jan 2011 14:47:26 +0000 (15:47 +0100)]
and now without a security issue

6 years agoredo last commit with temporary xen.conf file. Get rid of static file.
Adrian Schröter [Wed, 5 Jan 2011 14:40:17 +0000 (15:40 +0100)]
redo last commit with temporary xen.conf file. Get rid of static file.

6 years ago* support parallel build with xen
Adrian Schröter [Wed, 5 Jan 2011 14:13:13 +0000 (15:13 +0100)]
* support parallel build with xen
* support same vm options for xen and kvm

6 years agodon't try to copy oldpackages inside vm
Ludwig Nussel [Mon, 13 Dec 2010 10:48:28 +0000 (11:48 +0100)]
don't try to copy oldpackages inside vm

6 years ago- run createrepo with --simple-md-filenames if possible
Michael Schroeder [Fri, 10 Dec 2010 12:06:47 +0000 (13:06 +0100)]
- run createrepo with --simple-md-filenames if possible

6 years ago- also use -o when using bsdtar --chroot
Michael Schroeder [Fri, 10 Dec 2010 10:00:06 +0000 (11:00 +0100)]
- also use -o when using bsdtar --chroot

6 years ago- use bsdtar if possible
Michael Schroeder [Tue, 7 Dec 2010 17:06:45 +0000 (18:06 +0100)]
- use bsdtar if possible

6 years ago- support 'OTHER' filedrop area, remove ZIP and EXE hack
Michael Schroeder [Thu, 2 Dec 2010 16:10:19 +0000 (17:10 +0100)]
- support 'OTHER' filedrop area, remove ZIP and EXE hack

6 years ago- make expanddeps use the highest version of a package if multiple versions aver...
Michael Schroeder [Wed, 1 Dec 2010 17:13:01 +0000 (18:13 +0100)]
- make expanddeps use the highest version of a package if multiple versions aver available in a repository [bnc#656599]

6 years agoremove .build.oldpackages if not used
Ludwig Nussel [Wed, 17 Nov 2010 12:08:40 +0000 (13:08 +0100)]
remove .build.oldpackages if not used

6 years agodon't create deltas if build is same as before
Ludwig Nussel [Wed, 17 Nov 2010 11:57:08 +0000 (12:57 +0100)]
don't create deltas if build is same as before

6 years agoexport zip and exe files from cross built ms-windows installer binaries via spec...
Adrian Schröter [Tue, 23 Nov 2010 14:34:38 +0000 (15:34 +0100)]
export zip and exe files from cross built ms-windows installer binaries via spec files

6 years agouse no-kvmclock. Time should be still consistent, maybe running a bit slower on long...
Adrian Schröter [Thu, 18 Nov 2010 14:47:17 +0000 (15:47 +0100)]
use no-kvmclock. Time should be still consistent, maybe running a bit slower on long term builds.

6 years agodo not use "noapic" for kvm as recommended by Alex
Adrian Schröter [Thu, 18 Nov 2010 14:42:47 +0000 (15:42 +0100)]
do not use "noapic" for kvm as recommended by Alex

6 years agogive a better hint on using wrong kiwi repository path url
Adrian Schröter [Thu, 18 Nov 2010 10:54:18 +0000 (11:54 +0100)]
give a better hint on using wrong kiwi repository path url

6 years agoinstall signdummy
Adrian Schröter [Thu, 11 Nov 2010 14:09:37 +0000 (15:09 +0100)]
install signdummy

6 years agoadd workaround for Ubuntu 10 builds
Michael Schroeder [Wed, 10 Nov 2010 15:01:35 +0000 (16:01 +0100)]
add workaround for Ubuntu 10 builds

6 years agoallow x in abuild password field
Michael Schroeder [Wed, 10 Nov 2010 14:19:45 +0000 (15:19 +0100)]
allow x in abuild password field

6 years agomake "noclobber" message silent
Michael Schroeder [Wed, 10 Nov 2010 13:32:40 +0000 (14:32 +0100)]
make "noclobber" message silent

6 years ago- remove useless ';'
Michael Schroeder [Fri, 29 Oct 2010 15:58:10 +0000 (17:58 +0200)]
- remove useless ';'

6 years agoXEN is too broken to use tap:aio reliable :/
Adrian Schröter [Wed, 10 Nov 2010 13:20:31 +0000 (14:20 +0100)]
XEN is too broken to use tap:aio reliable :/

Revert "XEN: switch from using phy: to tap:aio: to improve block IO performance"

This reverts commit e114578358725bccac5c77e5b0007ed8e2aa105a.

6 years agoXEN: switch from using phy: to tap:aio: to improve block IO performance
Adrian Schröter [Wed, 10 Nov 2010 07:54:11 +0000 (08:54 +0100)]
XEN: switch from using phy: to tap:aio: to improve block IO performance
Thanks to Berthold for the hint (test case time was reduced by > 30%)

6 years agounlink correct file
Ludwig Nussel [Tue, 2 Nov 2010 16:31:28 +0000 (17:31 +0100)]
unlink correct file

6 years agothrow away deltas bigger than 80% of the reference
Ludwig Nussel [Fri, 29 Oct 2010 09:19:02 +0000 (11:19 +0200)]
throw away deltas bigger than 80% of the reference

6 years agouse '.drpm' suffix instead of '.delta.rpm'
Ludwig Nussel [Mon, 18 Oct 2010 14:15:44 +0000 (16:15 +0200)]
use '.drpm' suffix instead of '.delta.rpm'

'.drpm' is easier to handle as it doesn't match '*.rpm'

6 years agorename makedeltarpms -> mkdrpms
Ludwig Nussel [Mon, 18 Oct 2010 14:14:54 +0000 (16:14 +0200)]
rename makedeltarpms -> mkdrpms

6 years ago- fix xml parsing, allow to put strings in single quote
Michael Schroeder [Tue, 26 Oct 2010 14:33:05 +0000 (16:33 +0200)]
- fix xml parsing, allow to put strings in single quote

6 years agosilence
Adrian Schröter [Thu, 21 Oct 2010 07:03:59 +0000 (09:03 +0200)]
silence

7 years agoadd fallback archs to exclusive archs on product building (fixes hopefully #642925...
Adrian Schröter [Thu, 14 Oct 2010 13:00:34 +0000 (15:00 +0200)]
add fallback archs to exclusive archs on product building (fixes hopefully #642925, not yet tested)

7 years ago[initscript_qemu_vm] the exec call could fail thus creating an endless build loop...
Martin Mohring [Thu, 7 Oct 2010 14:03:43 +0000 (16:03 +0200)]
[initscript_qemu_vm] the exec call could fail thus creating an endless build loop. this specific case should not cause a rebuild

7 years ago[initscript_qemu_vm]: support also sh4 QEMU registration now. QEMU basically works...
Martin Mohring [Wed, 6 Oct 2010 23:32:37 +0000 (01:32 +0200)]
[initscript_qemu_vm]: support also sh4 QEMU registration now. QEMU basically works with Debian Sid

7 years ago[computeblocklists]: ioctl FIGETBSZ are not the same on ARM / i386 as the are on...
Martin Mohring [Tue, 5 Oct 2010 23:34:00 +0000 (01:34 +0200)]
[computeblocklists]: ioctl FIGETBSZ are not the same on ARM / i386 as the are on PPC / MIPS

7 years agobuild: correct disk image file creation, it was one byte too large
James Perkins [Mon, 13 Sep 2010 03:12:33 +0000 (20:12 -0700)]
build: correct disk image file creation, it was one byte too large

"dd if=/dev/zero bs=1 count=1 of=<diskimage> seek=<sizeinMB>*1024*1024"
resulted in a file that is desired size + 1 byte.  Subtract one byte
from the seek arithmetic, so that the write of 1 byte makes the disk
disk image exactly the right size. In the future it might be preferable
to use "qemu-image create -f raw <diskimage>" to do this operation.

Signed-off-by: James Perkins <james.perkins@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years ago- add rpm-x86 hack for cross builds. will be removed again in the future
Michael Schroeder [Tue, 21 Sep 2010 13:12:11 +0000 (15:12 +0200)]
- add rpm-x86 hack for cross builds. will be removed again in the future

7 years agoRevert "[build] Add cb(pre)ignore capabilities to build. Removes dependencies from...
Michael Schroeder [Tue, 21 Sep 2010 09:43:45 +0000 (11:43 +0200)]
Revert "[build] Add cb(pre)ignore capabilities to build. Removes dependencies from being installed in case of is_emulator_arch. E.g. omit normal install of package which is being replaced or unused anyway."

preinstalls without installs make no sense.

This reverts commit 2507f55cadf50a5d77f183361ab0ee94f44c110d.

7 years ago[build] Add cb(pre)ignore capabilities to build. Removes dependencies from being...
Jan-Simon Möller [Fri, 17 Sep 2010 17:46:10 +0000 (19:46 +0200)]
[build] Add cb(pre)ignore capabilities to build. Removes dependencies from being installed in case of is_emulator_arch. E.g. omit normal install of package which is being replaced or unused anyway.

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoinstall makedeltarpms script too
Ludwig Nussel [Mon, 20 Sep 2010 12:15:56 +0000 (14:15 +0200)]
install makedeltarpms script too

7 years agoalso support https download
Ludwig Nussel [Tue, 7 Sep 2010 08:15:09 +0000 (10:15 +0200)]
also support https download

7 years agointroduce dist_canon() in Build.pm
Ludwig Nussel [Tue, 3 Aug 2010 14:28:54 +0000 (16:28 +0200)]
introduce dist_canon() in Build.pm

7 years agorpm is in (8), not (1).
Michael Schroeder [Mon, 20 Sep 2010 09:42:34 +0000 (11:42 +0200)]
rpm is in (8), not (1).

7 years ago- add secret --signdummy option
Michael Schroeder [Thu, 16 Sep 2010 13:03:38 +0000 (15:03 +0200)]
- add secret --signdummy option

7 years ago- use a more precise tmpfile name (so that osc can exclude vc tmpfiles)
Marcus Huewe [Thu, 16 Sep 2010 09:40:36 +0000 (11:40 +0200)]
- use a more precise tmpfile name (so that osc can exclude vc tmpfiles)

7 years agoand revert the last two commits again to keep output compatibility
Adrian Schröter [Tue, 7 Sep 2010 12:43:18 +0000 (14:43 +0200)]
and revert the last two commits again to keep output compatibility

7 years agosparse is not supported by bzip2, just by tar
Adrian Schröter [Tue, 7 Sep 2010 08:37:37 +0000 (10:37 +0200)]
sparse is not supported by bzip2, just by tar

7 years agouse sparse option when bzip2 raw files (patch by cthiel)
Adrian Schröter [Mon, 6 Sep 2010 18:28:21 +0000 (20:28 +0200)]
use sparse option when bzip2 raw files (patch by cthiel)

7 years ago- detect multiversion specfiles
Michael Schroeder [Thu, 26 Aug 2010 15:23:33 +0000 (17:23 +0200)]
- detect multiversion specfiles

7 years agofixed: mips and mipsel cross build support with QEMU
Martin Mohring [Mon, 23 Aug 2010 05:54:07 +0000 (07:54 +0200)]
fixed: mips and mipsel cross build support with QEMU

7 years ago- commit darix' fix (missing "test" statement)
Marcus Huewe [Thu, 19 Aug 2010 12:47:12 +0000 (14:47 +0200)]
- commit darix' fix (missing "test" statement)

7 years agomkbaselibs: gracefully skip non-existing rpms
Ruediger Oertel [Thu, 12 Aug 2010 13:46:41 +0000 (15:46 +0200)]
mkbaselibs: gracefully skip non-existing rpms

7 years ago- substitute <RELEASE> even if no release is specified
Michael Schroeder [Wed, 4 Aug 2010 15:21:15 +0000 (17:21 +0200)]
- substitute <RELEASE> even if no release is specified

7 years agomake guessed BUILD_DIST available inside init_buildsystem
Ludwig Nussel [Mon, 2 Aug 2010 14:43:22 +0000 (16:43 +0200)]
make guessed BUILD_DIST available inside init_buildsystem

'order' for example also needs BUILD_DIST

7 years agoallow spaces in susetags repos too
Ludwig Nussel [Mon, 2 Aug 2010 14:20:42 +0000 (16:20 +0200)]
allow spaces in susetags repos too

7 years agodetect zypp repo cache changes
Ludwig Nussel [Mon, 2 Aug 2010 11:54:36 +0000 (13:54 +0200)]
detect zypp repo cache changes

7 years agoretry redirected downloads
Ludwig Nussel [Mon, 2 Aug 2010 11:41:03 +0000 (13:41 +0200)]
retry redirected downloads

7 years agohandle spaces and utf8 in file names of zypp repos (bnc#626960)
Ludwig Nussel [Mon, 2 Aug 2010 11:40:48 +0000 (13:40 +0200)]
handle spaces and utf8 in file names of zypp repos (bnc#626960)

7 years ago- document --repo and --dist
Michael Schroeder [Wed, 28 Jul 2010 13:43:57 +0000 (15:43 +0200)]
- document --repo and --dist

7 years agofix links that point to the wiki
Henne Vogelsang [Tue, 27 Jul 2010 13:24:28 +0000 (15:24 +0200)]
fix links that point to the wiki

Signed-off-by: Henne Vogelsang <hvogel@opensuse.org>
7 years ago- do not strip filedeps in readdeps clone
Michael Schroeder [Fri, 23 Jul 2010 12:15:56 +0000 (14:15 +0200)]
- do not strip filedeps in readdeps clone

7 years ago- do not strip file deps in readdeps()
Michael Schroeder [Fri, 23 Jul 2010 12:15:30 +0000 (14:15 +0200)]
- do not strip file deps in readdeps()

7 years ago- do not add files to provides to stay compatible to createrpmdeps
Michael Schroeder [Fri, 23 Jul 2010 12:14:08 +0000 (14:14 +0200)]
- do not add files to provides to stay compatible to createrpmdeps
- die if the metadata download failed
- use 3-arg form for metadata open

7 years ago- use 3-arg form for open calls
Michael Schroeder [Fri, 23 Jul 2010 12:13:37 +0000 (14:13 +0200)]
- use 3-arg form for open calls

7 years ago- allow urls with missing trailing /
Michael Schroeder [Fri, 23 Jul 2010 09:57:43 +0000 (11:57 +0200)]
- allow urls with missing trailing /

7 years ago- fix distribution autodetection code
Michael Schroeder [Fri, 23 Jul 2010 09:46:50 +0000 (11:46 +0200)]
- fix distribution autodetection code

7 years ago- unlink download destination before doing the download
Michael Schroeder [Thu, 22 Jul 2010 10:36:34 +0000 (12:36 +0200)]
- unlink download destination before doing the download

7 years agoWhen creating a Xen worker/chroot XMROOT/XMSWAP need to point to the
David Greaves [Sun, 4 Jul 2010 09:13:44 +0000 (10:13 +0100)]
When creating a Xen worker/chroot XMROOT/XMSWAP need to point to the
devices if they were created by obsstoragesetup

7 years ago- add support for FileProvides: config option
Michael Schroeder [Wed, 21 Jul 2010 12:42:34 +0000 (14:42 +0200)]
- add support for FileProvides: config option

7 years agopoint also to broken perl in case of "no build status set"
Adrian Schröter [Wed, 7 Jul 2010 08:20:18 +0000 (10:20 +0200)]
point also to broken perl in case of "no build status set"

7 years agoexport BUILD_DEBUG so rpmlint can check for it (bnc#618004)
Ludwig Nussel [Wed, 30 Jun 2010 12:34:06 +0000 (14:34 +0200)]
export BUILD_DEBUG so rpmlint can check for it (bnc#618004)

7 years ago- add 11.3 config
Michael Schroeder [Tue, 29 Jun 2010 13:02:57 +0000 (15:02 +0200)]
- add 11.3 config

7 years ago- do not use +=, older bash versions do not support it
Michael Schroeder [Tue, 29 Jun 2010 10:49:32 +0000 (12:49 +0200)]
- do not use +=, older bash versions do not support it

7 years agoThe ovf file is useless alone, package it as part of the vmdk/vmx tar ball.
Adrian Schröter [Mon, 28 Jun 2010 08:45:58 +0000 (10:45 +0200)]
The ovf file is useless alone, package it as part of the vmdk/vmx tar ball.

7 years ago* fix repo creation in --noinit case
Adrian Schröter [Mon, 28 Jun 2010 08:22:38 +0000 (10:22 +0200)]
* fix repo creation in --noinit case
* support ovf files directly

7 years agodon't automatically install build-compare
Ludwig Nussel [Fri, 25 Jun 2010 08:52:18 +0000 (10:52 +0200)]
don't automatically install build-compare

build-compare isn't available always and --oldpackages is also used for
delta rpms.