Mailinglist Archive: opensuse-buildservice (248 mails)

< Previous Next >
Re: [opensuse-buildservice] small patch to build-compare
  • From: Andreas Jaeger <aj@xxxxxxxxxx>
  • Date: Wed, 14 Oct 2009 09:17:25 +0200
  • Message-id: <200910140918.40276.aj@xxxxxxxxxx>
On Tuesday 13 October 2009 21:22:47 Michael_E_Brown@xxxxxxxx wrote:
build-compare brings a dependency for build.rpm in the build root for just
one utility: "unrpm". However, unrpm is just a ~50 line shell script that
can be written in one line, removing the dependency on build.rpm.

In two places, I changed "unrpm -q $oldrpm" to:
rpm2cpio $oldrpm | cpio -di --unconditional --preserve-modification-time

And now build-compare is running properly in my private obs instance.

Thanks Michael, I've made it instead a function and added it to the package
(see submitrequest #22383),

Andreas Jaeger, Program Manager openSUSE, aj@{,}
Twitter: jaegerandi | Identica: jaegerandi
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
Maxfeldstr. 5, 90409 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
< Previous Next >