Hello community, here is the log from the commit of package onefetch for openSUSE:Factory checked in at 2020-09-03 01:18:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/onefetch (Old) and /work/SRC/openSUSE:Factory/.onefetch.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "onefetch" Thu Sep 3 01:18:09 2020 rev:3 rq:831376 version:2.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/onefetch/onefetch.changes 2020-08-18 13:54:55.242110161 +0200 +++ /work/SRC/openSUSE:Factory/.onefetch.new.3399/onefetch.changes 2020-09-03 01:18:47.128572737 +0200 @@ -1,0 +2,5 @@ +Thu Aug 20 15:14:56 UTC 2020 - Michel Normand <[email protected]> + +- avoid build error for ppc64le as reported by boo#1175502 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ onefetch.spec ++++++ --- /var/tmp/diff_new_pack.gISI8Z/_old 2020-09-03 01:18:48.788573347 +0200 +++ /var/tmp/diff_new_pack.gISI8Z/_new 2020-09-03 01:18:48.788573347 +0200 @@ -44,6 +44,18 @@ EOF %build +# bypass error https://bugzilla.opensuse.org/show_bug.cgi?id=1175502 +# to avoid cargo reported error if config.guess has been changed +# by build macro. +%ifarch ppc64le +guessname='src/libbacktrace/config.guess' +cfgguess="./vendor/backtrace-sys/$guessname" +chkjson='./vendor/backtrace-sys/.cargo-checksum.json' +if [[ -f $cfgguess ]] && [[ -f $chkjson ]]; then + chksum=`sha256sum $cfgguess |sed -e 's/ .*//'` + grep -q $guessname $chkjson && grep -q $chksum $chkjson || sed -i -e "s#\($guessname.:.\)[0-9a-f]*#\1$chksum#" $chkjson +fi +%endif cargo build --release %{?_smp_mflags} %check
