Hello community,

here is the log from the commit of package mpir for openSUSE:Factory checked in 
at 2018-02-05 10:46:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mpir (Old)
 and      /work/SRC/openSUSE:Factory/.mpir.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mpir"

Mon Feb  5 10:46:17 2018 rev:7 rq:571986 version:3.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/mpir/mpir.changes        2017-04-30 
21:24:57.639708738 +0200
+++ /work/SRC/openSUSE:Factory/.mpir.new/mpir.changes   2018-02-05 
10:46:18.771119390 +0100
@@ -1,0 +2,6 @@
+Thu Feb  1 02:00:47 CET 2018 - [email protected]
+
+- make it build on ppc64le using generic code
+  found via https://trac.sagemath.org/ticket/19704 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ mpir.spec ++++++
--- /var/tmp/diff_new_pack.Asw9F3/_old  2018-02-05 10:46:19.527083997 +0100
+++ /var/tmp/diff_new_pack.Asw9F3/_new  2018-02-05 10:46:19.527083997 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mpir
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -34,9 +34,6 @@
 BuildRequires:  gcc-c++
 BuildRequires:  m4
 BuildRequires:  yasm >= 1.3
-# ppc64le excluded because asm files in
-# mpn/powerpc64/mode64/* are ABI version 1.
-ExcludeArch:    ppc64le
 
 %description
 MPIR is a library for arbitrary precision arithmetic, operating on signed
@@ -89,6 +86,10 @@
 export CXXFLAGS="%optflags -fexceptions"
 # SLES11 %%configure contains --target=, but this is wrong to use.
 # Override with empty value to calm the scripts flagging uses of --target.
+%ifarch ppc64le
+export ABI=mode64
+export MPN_PATH=generic
+%endif
 %configure --target="" --disable-static \
        --disable-mpfr --enable-cxx --enable-fat
 make %{?_smp_mflags}


Reply via email to