Accepting request 99499 from home:a_jaeger:branches:build-compare-test
Compare rpmlint.log as well. OBS-URL: https://build.opensuse.org/request/show/99499 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=107
This commit is contained in:
parent
e51f70ceda
commit
c2d0aab211
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 9 13:15:33 UTC 2012 - aj@suse.de
|
||||||
|
|
||||||
|
- Compare rpmlint.log if it exists.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Sep 17 21:08:18 UTC 2011 - jengelh@medozas.de
|
Sat Sep 17 21:08:18 UTC 2011 - jengelh@medozas.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package build-compare
|
# spec file for package build-compare
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,10 +18,10 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: build-compare
|
Name: build-compare
|
||||||
License: GPLv2+
|
License: GPL-2.0+
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
Summary: Build Result Compare Script
|
Summary: Build Result Compare Script
|
||||||
Version: 2011.04.19
|
Version: 2012.01.09
|
||||||
Release: 6
|
Release: 6
|
||||||
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, 2012 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 Adrian Schroeter <adrian@suse.de>
|
# Written by Adrian Schroeter <adrian@suse.de>
|
||||||
@ -85,6 +85,16 @@ if [ -n "${NEWRPMS[0]}" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Compare rpmlint.log files
|
||||||
|
RPMLINTDIR=$NEWDIRS/../OTHER
|
||||||
|
if [ -e $OLDDIR/rpmlint.log && -e $RPMLINTDIR/rpmlint.log ]; then
|
||||||
|
if ! cmp -s $OLDDIR/rpmlint.log $RPMLINTDIR/rpmlint.log; then
|
||||||
|
echo "rpmlint.log files differ:"
|
||||||
|
diff -u $OLDDIR/rpmlint.log $RPMLINTDIR/rpmlint.log|head -n 20
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if test $SUCCESS -eq 0; then
|
if test $SUCCESS -eq 0; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user