|
|
|
|
@ -23,7 +23,7 @@
|
|
|
|
|
|
|
|
|
|
# package version |
|
|
|
|
%define V_base 4.0.2 |
|
|
|
|
%define V_patch 0 |
|
|
|
|
%define V_patch 01 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: mpfr |
|
|
|
|
@ -36,11 +36,12 @@ Class: CORE
|
|
|
|
|
Group: Algorithm |
|
|
|
|
License: LGPL |
|
|
|
|
Version: %{V_base}.%{V_patch} |
|
|
|
|
Release: 20190201 |
|
|
|
|
Release: 20190603 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://www.mpfr.org/mpfr-current/mpfr-%{V_base}.tar.gz |
|
|
|
|
Patch0: mpfr.patch |
|
|
|
|
Patch1: http://www.mpfr.org/mpfr-current/patch01 |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20160101 |
|
|
|
|
@ -73,6 +74,7 @@ PreReq: gmp
|
|
|
|
|
%prep |
|
|
|
|
%setup -q -n mpfr-%{V_base} |
|
|
|
|
%patch -p0 |
|
|
|
|
%patch -p1 -P 1 |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
CC="%{l_cc}" \ |
|
|
|
|
|