- Properly drop another duration from rpmlint.log

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=285
This commit is contained in:
Olaf Hering 2021-09-20 11:03:29 +00:00 committed by Git OBS Bridge
parent 6855de7c23
commit e57ee3eb61
5 changed files with 17 additions and 9 deletions

View File

@ -1,7 +1,7 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="versionformat">%ci.%h</param>
<param name="url">git://github.com/openSUSE/build-compare.git</param>
<param name="url">https://github.com/openSUSE/build-compare.git</param>
<param name="scm">git</param>
</service>
<service name="extract_file" mode="disabled">

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 20 08:25:27 UTC 2021 - Andreas Schwab <schwab@suse.de>
- Properly drop another duration from rpmlint.log
-------------------------------------------------------------------
Mon Sep 6 07:15:06 UTC 2021 - bwiedemann@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package build-compare
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,16 +12,16 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: build-compare
Summary: Build Result Compare Script
License: GPL-2.0-or-later
License: GPL-2.0+
Group: Development/Tools/Building
URL: https://github.com/openSUSE/build-compare
Version: 20210906T092724.c14c0a7
Url: https://github.com/openSUSE/build-compare
Version: 20210920T124345.b684003
Release: 0
Source1: COPYING
Source2: same-build-result.sh
@ -30,8 +30,8 @@ Source4: functions.sh
Source5: srpm-check.sh
%if 0%{?suse_version}
Requires: bash
Requires: coreutils
Requires: cpio
Requires: coreutils
Requires: diffutils
Requires: file
Requires: gawk
@ -47,6 +47,7 @@ BuildArch: noarch
This package contains scripts to find out if the build result differs
to a former build.
%prep
%setup -q -c -T

View File

@ -893,7 +893,9 @@ check_single_file()
monodis "new/$file" 2>/dev/null|sed -e 's/GUID = {.*}/GUID = { 42 }/;'> ${file2}
if ! cmp -s "${file1}" "${file2}"; then
wprint "$file differs ($ftype)"
diff --speed-large-files -u "${file1}" "${file2}"
diff --speed-large-files -u \
--label "old $file (monodis)" "${file1}" \
--label "new $file (monodis)" "${file2}"
return 1
fi
else

View File

@ -151,7 +151,7 @@ if test -n "$OTHERDIR"; then
/: W: python-bytecode-inconsistent-mtime /d
/: W: filename-too-long-for-joliet /d
/: I: \(filelist-initialization\|check-completed\) /s| [0-9]\+\.[0-9] s| x.x s|
/specfiles checked;/s| [0-9]\+\.[0-9] s$| x.x s|
s/; has taken [0-9]\+\.[0-9] s/; has taken x.x s/
" $file1 $file2
if ! cmp -s $file1 $file2; then
echo "rpmlint.log files differ:"