set default for BMOD_1_TO_MOD_1_THRESHOLD on ppc64, patch by

Torbjorn Granlund:
https://gmplib.org/repo/gmp/rev/4a6d258b467f
This commit is contained in:
Karsten Hopp 2014-04-24 17:57:22 +02:00
parent 7e11aa5679
commit a7a1fa93dd

View File

@ -6,7 +6,7 @@
Summary: A GNU arbitrary precision library Summary: A GNU arbitrary precision library
Name: gmp Name: gmp
Version: 6.0.0 Version: 6.0.0
Release: 2%{?dist} Release: 3%{?dist}
Epoch: 1 Epoch: 1
URL: http://gmplib.org/ URL: http://gmplib.org/
Source0: ftp://ftp.gmplib.org/pub/gmp-%{version}/gmp-%{version}a.tar.bz2 Source0: ftp://ftp.gmplib.org/pub/gmp-%{version}/gmp-%{version}a.tar.bz2
@ -14,6 +14,7 @@ Source0: ftp://ftp.gmplib.org/pub/gmp-%{version}/gmp-%{version}a.tar.bz2
Source2: gmp.h Source2: gmp.h
Source3: gmp-mparam.h Source3: gmp-mparam.h
Patch0: gmp-4.0.1-s390.patch Patch0: gmp-4.0.1-s390.patch
Patch1: gmp-6.0.0-ppc64.patch
License: LGPLv3+ or GPLv2+ License: LGPLv3+ or GPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -60,6 +61,7 @@ in applications.
%prep %prep
%setup -q %setup -q
%patch0 -p1 -b .s390 %patch0 -p1 -b .s390
%patch1 -p1 -b .ppc64
%build %build
autoreconf -ifv autoreconf -ifv
@ -227,8 +229,12 @@ exit 0
%{_libdir}/libgmp.a %{_libdir}/libgmp.a
%{_libdir}/libgmpxx.a %{_libdir}/libgmpxx.a
%changelog %changelog
* Thu Apr 24 2014 Karsten Hopp <karsten@redhat.com> 6.0.0-3
- set default for BMOD_1_TO_MOD_1_THRESHOLD on ppc64, patch by
Torbjorn Granlund:
https://gmplib.org/repo/gmp/rev/4a6d258b467f
* Mon Apr 14 2014 Frantisek Kluknavsky <fkluknav@redhat.com> - 1:6.0.0-2 * Mon Apr 14 2014 Frantisek Kluknavsky <fkluknav@redhat.com> - 1:6.0.0-2
- rebase - rebase