From 7b8eb4f842c4e8d780ec49ade8f1eb6c5304927094c523b8a4176174e923cf77 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 15 Feb 2012 13:22:04 +0000 Subject: [PATCH] - Remove redundant --host specification on %configure. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=27 --- gmp.changes | 5 +++++ gmp.spec | 26 -------------------------- 2 files changed, 5 insertions(+), 26 deletions(-) diff --git a/gmp.changes b/gmp.changes index bf79f64..9734941 100644 --- a/gmp.changes +++ b/gmp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 15 13:21:29 UTC 2012 - rguenther@suse.com + +- Remove redundant --host specification on %configure. + ------------------------------------------------------------------- Fri Feb 10 13:48:16 UTC 2012 - rguenther@suse.com diff --git a/gmp.spec b/gmp.spec index 4aa0bdd..f17541d 100644 --- a/gmp.spec +++ b/gmp.spec @@ -15,14 +15,12 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - Name: gmp BuildRequires: gcc-c++ # bug437293 %ifarch ppc64 Obsoletes: gmp-64bit %endif -# Version: 5.0.4 Release: 0 Summary: The GNU MP Library @@ -74,7 +72,6 @@ Requires: libmp3 = %{version} %ifarch ppc64 Obsoletes: gmp-devel-64bit %endif -# PreReq: %install_info_prereq %description devel @@ -82,11 +79,6 @@ These libraries are needed to develop programs which calculate with huge numbers (integer and floating point). - -Authors: --------- - Torbjorn Granlund - %prep %setup -q %ifnarch %arm @@ -94,26 +86,8 @@ Authors: %endif %build -# export HOME=/tmp/ -# %%{?suse_update_config:%%{suse_update_config -f}} -# mv config.guess config.guess.gmp -# mv config.sub config.sub.gmp -# autoreconf -fi -# mv config.guess configfsf.guess -# mv config.sub configfsf.sub -# mv config.guess.gmp config.guess -# mv config.sub.gmp config.sub -# %ifarch ppc64 -# # The PowerPC64 assembler funcs are for AIX and somehow don't work on Linux. -# rm -fv mpn/powerpc64/*.asm -# %endif -#%ifarch x86_64 x86 -# --enable-fat \ -#%endif -%define sanitized_platform %(echo %{_target_cpu} | sed -e "s/sparc64.*/sparc64/" -e "s/sparcv.*/sparc/")-%{_vendor}-%{_target_os} export CFLAGS="$RPM_OPT_FLAGS -fexceptions"; %configure \ - --build=%{sanitized_platform} \ --enable-cxx \ --enable-fat \ --enable-mpbsd