Mailinglist Archive: opensuse-buildservice (258 mails)

< Previous Next >
Re: [opensuse-buildservice] build-compare: it appears to ignore specfile metadata changes
  • From: Andreas Jaeger <aj@xxxxxxxxxx>
  • Date: Tue, 31 Aug 2010 11:22:21 +0200
  • Message-id: <201008311122.24157.aj@xxxxxxxxxx>
On Tuesday 31 August 2010 00:46:14 Jon Nelson wrote:
I've been having trouble with build-compare. It *appears* to be
ignoring changes to the specfile, when the changes are of the
Conflicts or Provides nature (possibly others). The source files
(other than the specfile) are not changing. Is this expected? Can
someone confirm this?

If you add a changes entry, it will record that one for sure ;)

The following code in of build-compare should handle changed
conflicts and provides:

# provides destroy this because at least the self-provide includes the
# -buildnumber :-(
check_header "$1" | sed -e "s,-$2$,-@RELEASE@,"

check_provides $oldrpm $release1 > $file1
check_provides $newrpm $release2 > $file2

if ! diff -au $file1 $file2; then
rm $file1 $file2
exit 1

Please give me some instructions on what exactly fails so that I can reproduce

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 >
Follow Ups