[opensuse-buildservice] small patch to build-compare

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. -- Michael -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On Tuesday 13 October 2009 21:22:47 Michael_E_Brown@dell.com 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 -- Andreas Jaeger, Program Manager openSUSE, aj@{novell.com,opensuse.org} 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
participants (2)
-
Andreas Jaeger
-
Michael_E_Brown@Dell.com