[gmp] - drop s390x patch, support is already in upstream

Dan Horák sharkcz at fedoraproject.org
Thu Sep 4 12:58:51 UTC 2014


commit 9e325b04b105c237a71d2fa4d4aaa69b6be5cc32
Author: Dan Horák <dan at danny.cz>
Date:   Thu Sep 4 14:58:41 2014 +0200

    - drop s390x patch, support is already in upstream

 gmp-4.0.1-s390.patch |   30 ------------------------------
 gmp.spec             |   12 +++++++++---
 2 files changed, 9 insertions(+), 33 deletions(-)
---
diff --git a/gmp.spec b/gmp.spec
index 7297694..43740c3 100644
--- a/gmp.spec
+++ b/gmp.spec
@@ -6,14 +6,13 @@
 Summary: A GNU arbitrary precision library
 Name: gmp
 Version: 6.0.0
-Release: 7%{?dist}
+Release: 8%{?dist}
 Epoch: 1
 URL: http://gmplib.org/
 Source0: ftp://ftp.gmplib.org/pub/gmp-%{version}/gmp-%{version}a.tar.bz2
 # or ftp://ftp.gnu.org/pub/gnu/gmp/gmp-%{version}.tar.xz
 Source2: gmp.h
 Source3: gmp-mparam.h
-Patch0: gmp-4.0.1-s390.patch
 Patch1: gmp-6.0.0-ppc64.patch
 License: LGPLv3+ or GPLv2+
 Group: System Environment/Libraries
@@ -60,9 +59,13 @@ in applications.
 
 %prep
 %setup -q
-%patch0 -p1 -b .s390
 %patch1 -p1 -b .ppc64
 
+# switch the defaults to new cpus on s390x
+%ifarch s390x
+( cd mpn/s390_64; ln -s z10 s390x )
+%endif
+
 %build
 autoreconf -ifv
 if as --help | grep -q execstack; then
@@ -232,6 +235,9 @@ exit 0
 %{_libdir}/libgmpxx.a
 
 %changelog
+* Thu Sep 04 2014 Dan Horák <dan[at]danny.cz> - 1:6.0.0-8
+- drop s390x patch, support is already in upstream
+
 * Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:6.0.0-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 


More information about the scm-commits mailing list