File project.diff of Package gmp
--- baselibs.conf.orig
+++ baselibs.conf
@@ -1,5 +1,4 @@
libgmp10
- obsoletes "gmp-<targettype>"
libgmpxx4
gmp-devel
requires -gmp-<targettype>
--- gmp.spec.orig
+++ gmp.spec
@@ -1,7 +1,7 @@
#
# spec file for package gmp
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -48,6 +48,8 @@ A library for calculating huge numbers (
Summary: C++ bindings for the GNU MP Library
Group: System/Libraries
Requires: libgmp10 >= %{version}
+Provides: gmp = ${version}
+#Obsoletes: gmp <= 4.3
%description -n libgmpxx4
A library for calculating huge numbers (integer and floating point).
@@ -76,7 +78,7 @@ huge numbers (integer and floating point
export CFLAGS="%{optflags} -fexceptions"
%configure \
--enable-cxx \
- --enable-fat
+ --enable-fat --target=%{_host}
make %{?_smp_mflags}
%check
@@ -103,7 +105,6 @@ rm %{buildroot}%{_libdir}/libgmpxx.a
%files -n libgmp10
%defattr(-,root,root)
-%license COPYING*
%{_libdir}/libgmp.so.10*
%files -n libgmpxx4