SHA256
1
0
forked from pool/mpc

- Add mpc-1.0.3-addsubulp.diff and mpc-1.0.3-fmma.diff to fix build

with mpfr 4.0.0.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/mpc?expand=0&rev=35
This commit is contained in:
2018-01-02 13:06:58 +00:00
committed by Git OBS Bridge
parent a8ecd6a4dd
commit 08f2af33a1
4 changed files with 112 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package mpc
#
# Copyright (c) 2015 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
@@ -27,6 +27,8 @@ Source0: http://www.multiprecision.org/mpc/download/mpc-%{version}.tar.gz
Source1: http://www.multiprecision.org/mpc/download/mpc-%{version}.tar.gz.sig
Source2: %{name}.keyring
Source3: baselibs.conf
Patch1: mpc-1.0.3-fmma.diff
Patch2: mpc-1.0.3-addsubulp.diff
BuildRequires: gmp-devel
BuildRequires: mpfr-devel
Requires(post): %{install_info_prereq}
@@ -60,6 +62,8 @@ MPC multiple-precision complex library development files.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%build
%configure