SHA256
1
0
forked from pool/gmp

Accepting request 404342 from home:AndreasStieger:branches:devel:libraries:c_c++

gmp 6.1.1

OBS-URL: https://build.opensuse.org/request/show/404342
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=65
This commit is contained in:
Dirk Mueller 2016-06-24 08:19:01 +00:00 committed by Git OBS Bridge
parent 6cd33fc880
commit 8e3e8209df
6 changed files with 16 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:498449a994efeba527885c10405993427995d3f86b8768d8cdf8d9dd7c6b73e8
size 2383840

Binary file not shown.

3
gmp-6.1.1.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a8109865f2893f1373b0a8ed5ff7429de8db696fc451b1036bd7bdf95bbeffd6
size 2384919

BIN
gmp-6.1.1.tar.bz2.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Jun 23 21:04:04 UTC 2016 - astieger@suse.com
- gmp 6.1.1:
* Work around faulty cpuid on some recent Intel chips (this
allows GMP to run on Skylake Pentiums).
-------------------------------------------------------------------
Mon Nov 2 08:57:09 UTC 2015 - rguenther@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package gmp
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: gmp
Version: 6.1.0
Version: 6.1.1
Release: 0
Summary: The GNU MP Library
License: GPL-3.0+ and LGPL-3.0+
@ -57,7 +57,7 @@ Summary: Include Files and Libraries for Development with the GNU MP Libr
Group: Development/Languages/C and C++
Requires: libgmp10 = %{version}
Requires: libgmpxx4 = %{version}
Requires(pre): %{install_info_prereq}
Requires(pre): %{install_info_prereq}
%description devel
These libraries are needed to develop programs which calculate with
@ -71,6 +71,7 @@ huge numbers (integer and floating point).
# Do not use %%configure here, that will break build on SLE11 because
# there we pass a mismatched --target. See bnc#870358.
export CFLAGS="%{optflags} -fexceptions"
# FIXME: you should use the %%configure macro
./configure \
--host=%{_host} \
--build=%{_build} \
@ -86,22 +87,18 @@ make %{?_smp_mflags}
make %{?_smp_mflags} check
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
make %{?_smp_mflags} DESTDIR=%{buildroot} install
rm %{buildroot}%{_libdir}/libgmp.la
rm %{buildroot}%{_libdir}/libgmpxx.la
rm %{buildroot}%{_libdir}/libgmpxx.a
%post -n libgmp10 -p /sbin/ldconfig
%post -n libgmpxx4 -p /sbin/ldconfig
%post devel
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%postun -n libgmp10 -p /sbin/ldconfig
%postun -n libgmpxx4 -p /sbin/ldconfig
%postun devel
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
@ -117,7 +114,7 @@ rm %{buildroot}%{_libdir}/libgmpxx.a
%defattr(-,root,root)
%doc AUTHORS README NEWS
%doc demos
%doc %{_infodir}/gmp.info*.gz
%{_infodir}/gmp.info*%{ext_info}
%{_libdir}/libgmp.a
%{_libdir}/libgmp.so
%{_libdir}/libgmpxx.so