forked from pool/build-compare
Accepting request 63016 from openSUSE:Tools
Accepted submit request 63016 from user a_jaeger OBS-URL: https://build.opensuse.org/request/show/63016 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=46
This commit is contained in:
commit
b5d83f672f
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 28 14:00:35 UTC 2011 - aj@suse.de
|
||||||
|
|
||||||
|
- Increase version.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 28 13:51:29 UTC 2011 - mls@suse.de
|
||||||
|
|
||||||
|
- Check also the first part of the release to e.g. handle rebuild of complete
|
||||||
|
distribution (bnc#674991).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 28 09:49:14 UTC 2010 - aj@suse.de
|
Thu Oct 28 09:49:14 UTC 2010 - aj@suse.de
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ License: GPLv2+
|
|||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Summary: Build Result Compare Script
|
Summary: Build Result Compare Script
|
||||||
Version: 2009.10.14
|
Version: 2011.02.28
|
||||||
Release: 26
|
Release: 26
|
||||||
Source1: COPYING
|
Source1: COPYING
|
||||||
Source2: same-build-result.sh
|
Source2: same-build-result.sh
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009, 2010 SUSE Linux Product GmbH, Germany.
|
# Copyright (c) 2009, 2010, 2011 SUSE Linux Product GmbH, Germany.
|
||||||
# Licensed under GPL v2, see COPYING file for details.
|
# Licensed under GPL v2, see COPYING file for details.
|
||||||
#
|
#
|
||||||
# Written by Michael Matz and Stephan Coolo
|
# Written by Michael Matz and Stephan Coolo
|
||||||
@ -89,6 +89,11 @@ function cmp_spec ()
|
|||||||
|
|
||||||
release1=`$RPM --qf "%{RELEASE}" "$oldrpm"`
|
release1=`$RPM --qf "%{RELEASE}" "$oldrpm"`
|
||||||
release2=`$RPM --qf "%{RELEASE}" "$newrpm"`
|
release2=`$RPM --qf "%{RELEASE}" "$newrpm"`
|
||||||
|
# This might happen with a forced rebuild of factory
|
||||||
|
if [ "${release1%.*}" != "${release2%.*}" ] ; then
|
||||||
|
echo "release prefix mismatch"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
check_provides $oldrpm $release1 > $file1
|
check_provides $oldrpm $release1 > $file1
|
||||||
check_provides $newrpm $release2 > $file2
|
check_provides $newrpm $release2 > $file2
|
||||||
|
@ -39,6 +39,7 @@ case $RES in
|
|||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
1)
|
1)
|
||||||
|
echo "RPM meta information is different"
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
2)
|
2)
|
||||||
|
Loading…
Reference in New Issue
Block a user