Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package build-compare for openSUSE:Factory checked in at 2022-10-08 01:22:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/build-compare (Old) and /work/SRC/openSUSE:Factory/.build-compare.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "build-compare" Sat Oct 8 01:22:35 2022 rev:123 rq:1007655 version:20220926T095347.40c240f Changes: -------- --- /work/SRC/openSUSE:Factory/build-compare/build-compare.changes 2022-09-02 21:56:12.720248428 +0200 +++ /work/SRC/openSUSE:Factory/.build-compare.new.2275/build-compare.changes 2022-10-08 01:22:35.737867821 +0200 @@ -1,0 +2,11 @@ +Mon Sep 19 08:02:40 UTC 2022 - Dirk M??ller <dmuel...@suse.com> + +- move license to licensedir +- spec file cleanups + +------------------------------------------------------------------- +Fri Sep 2 07:15:18 UTC 2022 - Martin Kampas <martin.kam...@jolla.com> + +- fix compatibility with older sed (#55) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ build-compare.spec ++++++ --- /var/tmp/diff_new_pack.SI0n2m/_old 2022-10-08 01:22:36.317869152 +0200 +++ /var/tmp/diff_new_pack.SI0n2m/_new 2022-10-08 01:22:36.321869161 +0200 @@ -1,7 +1,7 @@ # # spec file for package build-compare # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,26 +12,29 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: build-compare +Version: 20220926T095347.40c240f +Release: 0 Summary: Build Result Compare Script -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Development/Tools/Building -Url: https://github.com/openSUSE/build-compare -Version: 20220823T100012.86340a1 -Release: 0 +URL: https://github.com/openSUSE/build-compare Source1: COPYING Source2: same-build-result.sh Source3: pkg-diff.sh Source4: functions.sh Source5: srpm-check.sh +BuildRoot: %{_tmppath}/%{name}-%{version}-build +#!BuildIgnore: build-compare +BuildArch: noarch %if 0%{?suse_version} Requires: bash -Requires: cpio Requires: coreutils +Requires: cpio Requires: diffutils Requires: file Requires: gawk @@ -39,28 +42,28 @@ Requires: rpm Requires: sed %endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch -#!BuildIgnore: build-compare %description This package contains scripts to find out if the build result differs to a former build. - %prep %setup -q -c -T +install -p -m 0644 %{SOURCE1} . %build %install -mkdir -p $RPM_BUILD_ROOT/usr/lib/build/ $RPM_BUILD_ROOT/%_defaultdocdir/%name -install -m 0755 %SOURCE2 %SOURCE3 %SOURCE4 %SOURCE5 $RPM_BUILD_ROOT/usr/lib/build/ -install -m 0644 %SOURCE1 $RPM_BUILD_ROOT/%_defaultdocdir/%name/ +mkdir -p %{buildroot}%{_prefix}/lib/build/ +install -m 0755 %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{buildroot}%{_prefix}/lib/build/ %files +%if 0%{?suse_version} < 1500 %defattr(-,root,root) -%doc %_defaultdocdir/%name -/usr/lib/build +%doc COPYING +%else +%license COPYING +%endif +%{_prefix}/lib/build %changelog ++++++ functions.sh ++++++ --- /var/tmp/diff_new_pack.SI0n2m/_old 2022-10-08 01:22:36.385869308 +0200 +++ /var/tmp/diff_new_pack.SI0n2m/_new 2022-10-08 01:22:36.389869317 +0200 @@ -404,7 +404,7 @@ do : "${REPLY}" files+=( "${REPLY}" ) - done < <(diff -U0 $file1 $file2 | sed -E -n -e '/^\+\//{s/^\+//;s/ [0-9a-f]+ [0-9]+$//;p}') + done < <(diff -U0 $file1 $file2 | sed --regexp-extended -n -e '/^\+\//{s/^\+//;s/ [0-9a-f]+ [0-9]+$//;p}') fi if test -n "$sh"; then