Hello community,

here is the log from the commit of package pijul for openSUSE:Factory checked 
in at 2020-08-31 16:51:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pijul (Old)
 and      /work/SRC/openSUSE:Factory/.pijul.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pijul"

Mon Aug 31 16:51:56 2020 rev:2 rq:830685 version:0.12.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/pijul/pijul.changes      2019-09-09 
23:44:50.749321555 +0200
+++ /work/SRC/openSUSE:Factory/.pijul.new.3399/pijul.changes    2020-08-31 
16:52:23.076416510 +0200
@@ -1,0 +2,5 @@
+Thu Aug 20 15:52:03 UTC 2020 - Michel Normand <norm...@linux.vnet.ibm.com>
+
+- Avoid build error for ppc64le as reported by boo#1175502
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pijul.spec ++++++
--- /var/tmp/diff_new_pack.yCS6EO/_old  2020-08-31 16:52:24.736417315 +0200
+++ /var/tmp/diff_new_pack.yCS6EO/_new  2020-08-31 16:52:24.740417317 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package pijul
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -79,6 +79,19 @@
 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
+
 export CARGO_HOME=`pwd`/cargo-home/
 cargo build --release %{?_smp_mflags}
 


Reply via email to