Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package nvidia-texture-tools for
openSUSE:Factory checked in at 2021-04-12 12:36:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nvidia-texture-tools (Old)
and /work/SRC/openSUSE:Factory/.nvidia-texture-tools.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nvidia-texture-tools"
Mon Apr 12 12:36:58 2021 rev:21 rq:884213 version:2.1.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/nvidia-texture-tools/nvidia-texture-tools.changes
2021-03-30 21:07:31.929188049 +0200
+++
/work/SRC/openSUSE:Factory/.nvidia-texture-tools.new.2401/nvidia-texture-tools.changes
2021-04-12 12:39:50.405541940 +0200
@@ -1,0 +2,5 @@
+Sat Apr 3 12:57:30 UTC 2021 - Bernhard Wiedemann <[email protected]>
+
+- Drop -march=native to avoid compile-time CPU-detection (boo#1100677)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nvidia-texture-tools.spec ++++++
--- /var/tmp/diff_new_pack.M4EsxU/_old 2021-04-12 12:39:51.117542767 +0200
+++ /var/tmp/diff_new_pack.M4EsxU/_new 2021-04-12 12:39:51.121542771 +0200
@@ -55,7 +55,19 @@
the MIT license.
%prep
-%setup -q
+%autosetup -p1
+%ifarch %{ix86} x86_64
+# on i586 compilation will fail without SSE
+CPU=corei7
+%endif
+%ifarch ppc
+CPU=power8
+%endif
+if [ -n "$CPU" ] ; then
+ sed -i "s/-march=native/-march=$CPU/" cmake/OptimalOptions.cmake
+else
+ sed -i "s/-march=native//" cmake/OptimalOptions.cmake
+fi
%build
%cmake \