- Remove redundant --host specification on %configure.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=27
This commit is contained in:
parent
0151c5b4e6
commit
7b8eb4f842
@ -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
|
Fri Feb 10 13:48:16 UTC 2012 - rguenther@suse.com
|
||||||
|
|
||||||
|
26
gmp.spec
26
gmp.spec
@ -15,14 +15,12 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: gmp
|
Name: gmp
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: gmp-64bit
|
Obsoletes: gmp-64bit
|
||||||
%endif
|
%endif
|
||||||
#
|
|
||||||
Version: 5.0.4
|
Version: 5.0.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The GNU MP Library
|
Summary: The GNU MP Library
|
||||||
@ -74,7 +72,6 @@ Requires: libmp3 = %{version}
|
|||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: gmp-devel-64bit
|
Obsoletes: gmp-devel-64bit
|
||||||
%endif
|
%endif
|
||||||
#
|
|
||||||
PreReq: %install_info_prereq
|
PreReq: %install_info_prereq
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -82,11 +79,6 @@ These libraries are needed to develop programs which calculate with
|
|||||||
huge numbers (integer and floating point).
|
huge numbers (integer and floating point).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Torbjorn Granlund <tege@zevs.sics.se>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%ifnarch %arm
|
%ifnarch %arm
|
||||||
@ -94,26 +86,8 @@ Authors:
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%build
|
%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";
|
export CFLAGS="$RPM_OPT_FLAGS -fexceptions";
|
||||||
%configure \
|
%configure \
|
||||||
--build=%{sanitized_platform} \
|
|
||||||
--enable-cxx \
|
--enable-cxx \
|
||||||
--enable-fat \
|
--enable-fat \
|
||||||
--enable-mpbsd
|
--enable-mpbsd
|
||||||
|
Loading…
Reference in New Issue
Block a user