Sync from SUSE:ALP:Source:Standard:1.0 gmp revision e8130cb72e66ba24bb2796da5d3c351c
This commit is contained in:
commit
3172d2f40f
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
7
baselibs.conf
Normal file
7
baselibs.conf
Normal file
@ -0,0 +1,7 @@
|
||||
libgmp10
|
||||
obsoletes "gmp-<targettype>"
|
||||
libgmpxx4
|
||||
gmp-devel
|
||||
requires -gmp-<targettype>
|
||||
requires "libgmp10-<targettype> = <version>"
|
||||
requires "libgmpxx4-<targettype> = <version>"
|
14
gmp-6.2.1-arm64-invert_limb.patch
Normal file
14
gmp-6.2.1-arm64-invert_limb.patch
Normal file
@ -0,0 +1,14 @@
|
||||
--- mpn/arm64/invert_limb.asm.orig 2020-12-09 08:22:02.101836933 +0100
|
||||
+++ mpn/arm64/invert_limb.asm 2020-12-09 08:22:55.774456637 +0100
|
||||
@@ -41,9 +41,9 @@
|
||||
ASM_START()
|
||||
PROLOGUE(mpn_invert_limb)
|
||||
lsr x2, x0, #54
|
||||
- LEA_HI( x1, approx_tab)
|
||||
+ adrp x1, approx_tab
|
||||
and x2, x2, #0x1fe
|
||||
- LEA_LO( x1, approx_tab)
|
||||
+ add x1, x1, :lo12:approx_tab
|
||||
ldrh w3, [x1,x2]
|
||||
lsr x4, x0, #24
|
||||
add x4, x4, #1
|
83
gmp-6.3.0-s390x-fix.patch
Normal file
83
gmp-6.3.0-s390x-fix.patch
Normal file
@ -0,0 +1,83 @@
|
||||
From stli@linux.ibm.com Thu Aug 3 13:46:44 2023
|
||||
Date: Thu, 3 Aug 2023 15:46:27 +0200
|
||||
From: Stefan Liebler <stli@linux.ibm.com>
|
||||
To: gmp-devel@gmplib.org
|
||||
Subject: [PATCH] Revert "Move popcount and hamdist back from z14 to z13 after needed edits."
|
||||
|
||||
This reverts commit d4f5fca6a1e8ceb3bda243e5a7afcc8762025f84.
|
||||
|
||||
Unfortunately not only the extended mnemonics are not available with z13,
|
||||
but also vpopct M3=1-3 is reserved. Thus you'll get an illegal-instruction
|
||||
if run on z13 as vector enhancement facility 1 (introduced with z14) is
|
||||
not available.
|
||||
|
||||
This is recognized with test-fails if run on z13:
|
||||
FAIL: t-bin
|
||||
FAIL: t-fac_ui
|
||||
FAIL: t-mfac_uiui
|
||||
FAIL: t-primorial_ui
|
||||
FAIL: t-hamdist
|
||||
FAIL: t-popcount
|
||||
FAIL: t-nextprime
|
||||
---
|
||||
mpn/s390_64/{z13 => z14}/hamdist.asm | 4 ++--
|
||||
mpn/s390_64/{z13 => z14}/popcount.asm | 4 ++--
|
||||
2 files changed, 4 insertions(+), 4 deletions(-)
|
||||
rename mpn/s390_64/{z13 => z14}/hamdist.asm (97%)
|
||||
rename mpn/s390_64/{z13 => z14}/popcount.asm (97%)
|
||||
|
||||
diff --git a/mpn/s390_64/z13/hamdist.asm b/mpn/s390_64/z14/hamdist.asm
|
||||
similarity index 97%
|
||||
rename from a/mpn/s390_64/z13/hamdist.asm
|
||||
rename to b/mpn/s390_64/z14/hamdist.asm
|
||||
index 81c5174b4..be134ff4d 100644
|
||||
--- a/mpn/s390_64/z13/hamdist.asm
|
||||
+++ b/mpn/s390_64/z14/hamdist.asm
|
||||
@@ -55,7 +55,7 @@ PROLOGUE(mpn_hamdist)
|
||||
L(odd): vllezg %v16, 0(ap)
|
||||
vllezg %v17, 0(bp)
|
||||
vx %v16, %v16, %v17
|
||||
- vpopct %v30, %v16, 3
|
||||
+ vpopctg %v30, %v16
|
||||
la ap, 8(ap)
|
||||
la bp, 8(bp)
|
||||
clgije n, 0, L(end)
|
||||
@@ -63,7 +63,7 @@ L(odd): vllezg %v16, 0(ap)
|
||||
L(top): vl %v16, 0(ap), 3
|
||||
vl %v17, 0(bp), 3
|
||||
vx %v16, %v16, %v17
|
||||
- vpopct %v20, %v16, 3
|
||||
+ vpopctg %v20, %v16
|
||||
vag %v30, %v30, %v20
|
||||
la ap, 16(ap)
|
||||
la bp, 16(bp)
|
||||
diff --git a/mpn/s390_64/z13/popcount.asm b/mpn/s390_64/z14/popcount.asm
|
||||
similarity index 97%
|
||||
rename from a/mpn/s390_64/z13/popcount.asm
|
||||
rename to b/mpn/s390_64/z14/popcount.asm
|
||||
index 35b1fc4da..38b24479a 100644
|
||||
--- a/mpn/s390_64/z13/popcount.asm
|
||||
+++ b/mpn/s390_64/z14/popcount.asm
|
||||
@@ -52,12 +52,12 @@ PROLOGUE(mpn_popcount)
|
||||
je L(top)
|
||||
|
||||
L(odd): vllezg %v16, 0(ap)
|
||||
- vpopct %v30, %v16, 3
|
||||
+ vpopctg %v30, %v16
|
||||
la ap, 8(ap)
|
||||
clgije n, 0, L(end)
|
||||
|
||||
L(top): vl %v16, 0(ap), 3
|
||||
- vpopct %v20, %v16, 3
|
||||
+ vpopctg %v20, %v16
|
||||
vag %v30, %v30, %v20
|
||||
la ap, 16(ap)
|
||||
brctg n, L(top)
|
||||
--
|
||||
2.41.0
|
||||
|
||||
_______________________________________________
|
||||
gmp-devel mailing list
|
||||
gmp-devel@gmplib.org
|
||||
https://gmplib.org/mailman/listinfo/gmp-devel
|
||||
|
BIN
gmp-6.3.0.tar.xz
(Stored with Git LFS)
Normal file
BIN
gmp-6.3.0.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
gmp-6.3.0.tar.xz.sig
Normal file
BIN
gmp-6.3.0.tar.xz.sig
Normal file
Binary file not shown.
781
gmp.changes
Normal file
781
gmp.changes
Normal file
@ -0,0 +1,781 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 22 11:51:01 UTC 2023 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
- Add gmp-6.3.0-s390x-fix.patch to fix s390x optimized code on z13.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 4 08:09:53 UTC 2023 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
- GMP 6.3.0
|
||||
* A possible overflow of type int is avoided for mpz_cmp on huge operands.
|
||||
* A possible error condition when a malformed file is read with mpz_inp_raw
|
||||
is now correctly handled.
|
||||
* New public function mpz_prevprime, companion of the existing mpz_nextprime.
|
||||
* New documented pointer types mpz_ptr, mpz_srcptr, and similar for other
|
||||
GMP types. Refer to the manual for full list and suggested usage. These
|
||||
types have been present in gmp.h at least since GMP-4.0, but previously
|
||||
not advertised to users.
|
||||
* Support for 64-bit Arm under Macos.
|
||||
* Support for the loongarch64 CPU family.
|
||||
* Support for building with LTO, link-time optimisations.
|
||||
* New special code for base = 2 in mpz_powm reduces the average time for
|
||||
the functions that test primality.
|
||||
* Speedup for the function mpz_nextprime on large operands.
|
||||
* Speedup for multiplications (some sizes only) thanks to new internal
|
||||
functions to compute small negacyclic products.
|
||||
* Special assembly code for IBM z13 and later "mainframe" CPUs, resulting
|
||||
in a huge speedup.
|
||||
* Improved assembly for several 64-bit x86 CPUs, Risc-V, 64-bit Arm.
|
||||
- Removed gmp-6.2.1-CVE-2021-43618.patch which is included in the
|
||||
new release.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 16 07:33:41 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
- Add gmp-6.2.1-CVE-2021-43618.patch to fix buffer overflow on
|
||||
malformed input to mpz_inp_raw. [bsc#1192717, CVE-2021-43618]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 12:59:35 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
- Compute FIPS hmac for libgmp.so.10 [bsc#1184555]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 10 12:05:09 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- do not break SLE 12 build when applying spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 9 07:24:19 UTC 2020 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
- Add gmp-6.2.1-arm64-invert_limb.patch [bsc#1179751]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 3 12:54:56 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- GMP 6.2.1:
|
||||
* A possible overflow of type int is avoided for mpz_cmp on huge
|
||||
operands
|
||||
* Overflows are more carefully detected and reported for
|
||||
mpz_pow_ui
|
||||
* Fix a bug in longlong.h for aarch64 sub_ddmmss
|
||||
* mini-gmp: mpz_out_str and mpq_out_str now correctly handle out
|
||||
of range bases
|
||||
* C90 compliance
|
||||
* Support for more processors
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 26 07:36:38 UTC 2020 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
- correct license statement (library itself is no GPL-3.0)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 27 08:46:57 UTC 2020 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
- Remove broken packaged libgmp.a just containing LTO bytecode.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 19 21:19:41 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- GMP 6.2.0:
|
||||
* New C++ functions factorial, primorial and fibonacci for mpz_class
|
||||
* Functions to detect primality now substitute the first 24 Miller-Rabin
|
||||
iterations with the BPSW test
|
||||
* Mini-GMP: new functions mpz_2fac_ui and mpz_mfac_uiui.
|
||||
* Mini-GMP: mpz_sizeinbase, mpz_get_str, and mpz_set_str now support bases up
|
||||
to 62.
|
||||
* various bug fixes
|
||||
* Major speedup on AMD Ryzen and Epyc, IBM POWER9, 64-bit ARM CPUs
|
||||
from assembly code
|
||||
* Speedups from reimplementations
|
||||
- drop patches:
|
||||
* gmp-6.1.2-conftest.patch, upstream
|
||||
* gmp-noexec.diff, upstream
|
||||
* floating-point-format-no-lto.patch, similar change
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 7 21:41:52 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Move prominent summary from description to the summary field,
|
||||
and update the main description.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 1 07:48:02 UTC 2019 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add floating-point-format-no-lto.patch in order to fix assembler scanning
|
||||
(boo#1138809).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 22 15:10:32 UTC 2018 - fvogt@suse.com
|
||||
|
||||
- Use %license (boo#1082318)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 9 13:57:35 UTC 2017 - dimstar@opensuse.org
|
||||
|
||||
- Explicitly BuildRequire m4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 4 08:20:17 UTC 2017 - rguenther@suse.com
|
||||
|
||||
- Update to GMP 6.1.2 release.
|
||||
* Mini-GMP: Fixed a division bug, which on a machine with 64-bit
|
||||
unsigned long affects approximately 1 out of 2^32 divisors.
|
||||
* Mini-GMP: Fix mpz_set_str crash on inputs with a large number of
|
||||
leading zeros. Also stricter input validation, rejecting inputs
|
||||
with no digits.
|
||||
* Handle more systems which require PIC code in static libraries (e.g.,
|
||||
"hardened" Gentoo and Debian 9).
|
||||
* Configuration for arm (-32 and -64) has been rewritten, fixing poor
|
||||
code selection for many CPUs.
|
||||
* Mini-GMP: Updated to the latest development version, including
|
||||
new functions mpn_com and mpn_neg.
|
||||
- Add gmp-6.1.2-conftest.patch to fix configure test.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 30 07:34:19 UTC 2016 - mpluskal@suse.com
|
||||
|
||||
- Use macro for configure (as bsc#870358) is already fixed
|
||||
- Use xz compressed archives
|
||||
- Update info pages dependencies
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
- Update to GMP 6.1.0 release.
|
||||
* New C++ functions gcd and lcm for mpz_class
|
||||
* New public mpn functions mpn_divexact_1, mpn_zero_p, and mpn_cnd_swap
|
||||
* New public mpq_cmp_z function, to efficiently compare rationals with
|
||||
integers
|
||||
* Support for more 32-bit arm processors
|
||||
* Support for AVX-less modern x86 CPUs
|
||||
* Speedups and bugfixes
|
||||
- Includes gmp-6.0.0-ppc64-gcd.diff, now removed
|
||||
- Update gmp keyring
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 24 16:36:38 UTC 2015 - mpluskal@suse.com
|
||||
|
||||
- Remove old ppc related conditionals
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 24 15:10:11 UTC 2015 - mpluskal@suse.com
|
||||
|
||||
- Cleanup spec file with spec-cleaner
|
||||
- Refresh sources
|
||||
- Add gpg signature
|
||||
- Correct version number so that it matches actuall version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 17 08:29:15 UTC 2014 - schwab@suse.de
|
||||
|
||||
- Make gmp-noexec.diff compatible with arm
|
||||
- Use correct version number
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 7 00:41:24 UTC 2014 - afaerber@suse.de
|
||||
|
||||
- Fix tarball directory name to unbreak build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 26 09:39:48 UTC 2014 - rguenther@suse.com
|
||||
|
||||
- Update to GMP 6.0.0 release.
|
||||
* includes powerpc64le support and obsoletes
|
||||
gmp-support-powerpc64le-linux.patch and gmp-ppc64le-mod.patch
|
||||
* The function mpz_invert now considers any number invertible in Z/1Z
|
||||
* The mpn multiply code now handles operands of more than 2^31 limbs
|
||||
correctly
|
||||
* Plain division of large operands is faster and more monotonous in
|
||||
operand size
|
||||
* Major speedup for ARM, in particular ARM Cortex-A15, thanks to improved
|
||||
assembly.
|
||||
* Speedup for Intel Sandy Bridge, Ivy Bridge, Haswell, thanks to rewritten
|
||||
and vastly expanded assembly support. Speedup also for the older Core 2
|
||||
and Nehalem.
|
||||
* Faster mixed arithmetic between mpq_class and double.
|
||||
* With g++, optimise more operations when one argument is a simple
|
||||
constant.
|
||||
* Support for ARM64 alias Aarch64 alias ARMv8.
|
||||
* New public functions mpn_sec_mul and mpn_sec_sqr, implementing
|
||||
side-channel
|
||||
silent multiplication and squaring.
|
||||
* New public functions mpn_sec_div_qr and mpn_sec_div_r, implementing
|
||||
side-channel silent division.
|
||||
* New public functions mpn_cnd_add_n and mpn_cnd_sub_n. Side-channel
|
||||
silent conditional addition and subtraction.
|
||||
* New public function mpn_sec_powm, implementing side-channel silent
|
||||
modexp.
|
||||
* New public function mpn_sec_invert, implementing side-channel silent
|
||||
modular inversion.
|
||||
* Better support for applications which use the mpz_t type, but
|
||||
nevertheless need to call some of the lower-level mpn functions. See
|
||||
the documentation for mpz_limbs_read and related functions.
|
||||
- gmp-6.0.0-ppc64-gcd.diff: Fix build on ppc64 and ppc64le
|
||||
- Fix build on SLE11 by not using %configure
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 4 10:42:28 UTC 2013 - anton@samba.org
|
||||
|
||||
- gmp-support-powerpc64le-linux.patch: Add ppc64le ABIv2 support
|
||||
- gmp-ppc64le-mod.patch: Fix ppc64le issues
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 2 08:07:08 UTC 2013 - rguenther@suse.com
|
||||
|
||||
- Update to GMP 5.1.3 release.
|
||||
* The internal functions mpn_sbpi1_div_qr_sec mpn_sbpi1_div_r_sec could
|
||||
compute garbage with a low probability. They are now rewritten, and the
|
||||
test code has been improved.
|
||||
* A bug in the ia64 implementation of mpn_divrem_2, clobbering some
|
||||
callee-save registers, has been fixed. This is an internal
|
||||
function, with the bug manifesting itself as miscomputation in,
|
||||
e.g., mpn_sqrtrem.
|
||||
* The documentation now correctly says 'const' for input arguments.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 22 13:41:54 UTC 2013 - rguenther@suse.com
|
||||
|
||||
- Update to GMP 5.1.2 release.
|
||||
* A bug in mpz_powm_ui triggered by base arguments of at least 15000
|
||||
decimal digits or mod arguments of at least 7500 decimal digits has
|
||||
been fixed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 27 10:41:43 UTC 2013 - mmeister@suse.com
|
||||
|
||||
- Added url as source.
|
||||
Please see http://en.opensuse.org/SourceUrls
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 20 19:28:21 UTC 2013 - schwab@suse.de
|
||||
|
||||
- Update baselibs.conf for removal of libmp3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 13 09:16:09 UTC 2013 - rguenther@suse.com
|
||||
|
||||
- Update to GMP 5.1.1 release.
|
||||
* Aarch64 alias ARM64 support now works.
|
||||
* A possible buffer overrun in mpz_ior has been fixed.
|
||||
* A rare sign flip in mpz_remove has been fixed.
|
||||
* A bug causing problems with mpf numbers with absolute value >= 2^31 has
|
||||
been fixed.
|
||||
* Several bugs in mini-gmp have been fixed.
|
||||
* Preliminary support for the x32 ABI under x86-64.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 19 09:47:43 UTC 2012 - rguenther@suse.com
|
||||
|
||||
- Update to GMP 5.1.0 release.
|
||||
* Bug fixes and speedups
|
||||
* Many new CPUs recognised
|
||||
* New functions for multi-factorials, and primorial: mpz_2fac_ui,
|
||||
mpz_mfac_uiui and mpz_primorial_ui
|
||||
* The fat binary mechanism is now more robust in its CPU recognition
|
||||
* Drops support for BSD compatibility library
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 13 14:32:57 UTC 2012 - coolo@suse.com
|
||||
|
||||
- replace ; with and in license tag
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 4 08:53:30 UTC 2012 - rguenther@suse.com
|
||||
|
||||
- Pick fix for the aborts from CPU detection code from the upstream
|
||||
branch. [bnc#671262]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 3 07:49:57 UTC 2012 - bwiedemann@suse.com
|
||||
|
||||
- do not abort on kvm's x86_64 "CPU" on AMD (bnc#671262)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 29 08:01:17 UTC 2012 - coolo@suse.com
|
||||
|
||||
- do not abort on kvm's x86_64 "CPU", just use generic support for
|
||||
unknown CPUs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 7 09:10:41 UTC 2012 - rguenther@suse.com
|
||||
|
||||
- Update to release GMP 5.0.5
|
||||
* A bug causing AMD 11h processors to be treated like AMD 10h has been fixed.
|
||||
* A bug affecting recent Intel Sandy Bridge CPUs resulting in
|
||||
configuration failures has been fixed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
- Update to release GMP 5.0.4
|
||||
* Thresholds in mpn_powm_sec for both fat and non-fat builds are now used
|
||||
safely, plugging a one-word buffer overrun introduced in the 5.0.3 release
|
||||
(for non-fat) and a multi-word buffer overrun that existed since 5.0 (for
|
||||
fat). (We have not been able to provoke malign stack smashing in any of
|
||||
the ~100 configurations explored by the GMP nightly builds, but the bug
|
||||
should be assumed to be exploitable.)
|
||||
* Two bugs in multiplication code causing incorrect computation with
|
||||
extremely low probability have been fixed.
|
||||
* A bug in the test suite causing buffer overruns during "make check",
|
||||
sometimes leading to subsequent malloc crashes, has been fixed.
|
||||
* Two bugs in the gcd code have been fixed. They could lead to incorrect
|
||||
results, but for uniformly distributed random operands, the likelihood for
|
||||
that is infinitesimally small. (There was also a third bug, but that was
|
||||
an incorrect ASSERT, which furthermore was not enabled by default.)
|
||||
* A bug affecting 32-bit PowerPC division has been fixed. The bug caused
|
||||
miscomputation for certain divisors in the range 2^32 ... 2^64-1 (about 1
|
||||
in 2^30 of these).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 4 17:20:28 UTC 2012 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant tags/sections (see specfile guidelines)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 30 09:13:23 UTC 2012 - rguenther@suse.com
|
||||
|
||||
- Update to release GMP 5.0.3
|
||||
* A slight timing leak of the powm_sec functions have been sealed. (This
|
||||
leak could possibly be used to extract the most significant few bits of the
|
||||
exponent. "Few" here means at most 10.)
|
||||
* The mpz_nextprime function now runs a safer number of pseudo-random prime
|
||||
tests.
|
||||
* A bug in division code possibly causing incorrect computation was fixed.
|
||||
* New CPUs recognised.
|
||||
* IBM S/390 are now supported in both 31/32-bit and 64-bit mode.
|
||||
- Dropped SUSE local patches for S/390 support.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 00:04:11 CEST 2011 - dmueller@suse.de
|
||||
|
||||
- avoid noexec stack patch on arm
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 20 08:28:13 UTC 2011 - idonmez@novell.com
|
||||
|
||||
- Update to release GMP 5.0.2
|
||||
* Many minor bugs related to portability fixed.
|
||||
* The support for HPPA 2.0N now works, after an assembly bug fix.
|
||||
* A test case type error has been fixed. The symptom of this bug
|
||||
was spurious 'make check' failures.
|
||||
* Fat builds are now supported for 64-bit x86 processors also under Darwin.
|
||||
- Remove unknown configure option --disable-mpfr
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 19 00:03:52 CEST 2011 - ro@suse.de
|
||||
|
||||
- remove outdated entries from baselibs.conf
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 25 13:15:00 UTC 2011 - rguenther@novell.com
|
||||
|
||||
- Drop bogus provides/obsoletes of ABI incompatible gmp version.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 13 10:20:05 UTC 2010 - rguenther@novell.com
|
||||
|
||||
- Package BSB libmp bindings. [bnc#623910]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 6 13:27:34 UTC 2010 - rguenther@novell.com
|
||||
|
||||
- Update to release GMP 5.0.1.
|
||||
* Major performance and memory usage improvements.
|
||||
* Enable fat binaries on x86.
|
||||
* Bump SO version to 10.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 28 06:38:35 UTC 2010 - jengelh@medozas.de
|
||||
|
||||
- use %_smp_mflags
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 11 13:29:55 CET 2010 - rguenther@suse.de
|
||||
|
||||
- Update to bugfix release GMP 4.3.2.
|
||||
* Fixed bug in mpf_eq.
|
||||
* Fixed overflow issues in mpz_set_str, mpz_inp_str, mpf_set_str, and
|
||||
mpf_get_str.
|
||||
* Avoid unbounded stack allocation for unbalanced multiplication.
|
||||
* Fixed bug in FFT multiplication.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 11 13:16:43 CET 2009 - jengelh@medozas.de
|
||||
|
||||
- add baselibs.conf to specfile as source
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 7 19:34:01 CET 2009 - jengelh@medozas.de
|
||||
|
||||
- Fix building on SPARC. When rpmbuild is called with
|
||||
--target=sparcv9, %%_target_platform takes on the value
|
||||
"sparcv9-suse-linux", but this does not fly for gmp, it requires
|
||||
"sparc-suse-linux". This is similar to what binutils.spec does.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 17 15:21:13 CET 2009 - rguenther@suse.de
|
||||
|
||||
- Fix obsoletes of old gmp package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 12 13:00:14 CEST 2009 - rguenther@suse.de
|
||||
|
||||
- Update to bugfix release GMP 4.3.1.
|
||||
* Fixed bug in mpn_gcdext, affecting also mpz_gcdext and mpz_invert.
|
||||
* Fixed some minor documentation issues.
|
||||
* Recognise more IBM "POWER" processor variants.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 9 18:56:46 CEST 2009 - rguenther@suse.de
|
||||
|
||||
- Fix baselibs.conf wrt package split. [bnc#501465]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 15 10:29:12 CEST 2009 - rguenther@suse.de
|
||||
|
||||
- Update to version 4.3.0.
|
||||
* Speedups all over the board
|
||||
* Fat binaries on x86_64
|
||||
- Split shared libraries according to policy.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 10 12:34:56 CET 2008 - olh@suse.de
|
||||
|
||||
- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade
|
||||
(bnc#437293)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 24 12:34:56 CET 2008 - olh@suse.de
|
||||
|
||||
- obsolete old -XXbit packages (bnc#437293)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 4 10:54:43 CEST 2008 - rguenther@suse.de
|
||||
|
||||
- Update to version 4.2.3.
|
||||
* minor bugfixes
|
||||
- Remove no longer applicable patches.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de
|
||||
|
||||
- added baselibs.conf file to build xxbit packages
|
||||
for multilib support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 3 10:38:28 CET 2008 - rguenther@suse.de
|
||||
|
||||
- Fix std::FILE usage for C++ again.
|
||||
- Move info postin to the correct sub-package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 12 14:28:23 CET 2007 - rguenther@suse.de
|
||||
|
||||
- Update to 4.2.2, which is now LGPLv3.
|
||||
- Remove no longer applicable patches.
|
||||
- Disable building of berkley MP compatibility library.
|
||||
- Run testsuite only once.
|
||||
- Do not package libtool .la files.
|
||||
- Do not package static C++ binding library.
|
||||
- Do not package CVS changelog.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 22 12:40:44 CEST 2007 - rguenther@suse.de
|
||||
|
||||
- Fix inline behavior for C99.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 13 20:11:14 CET 2007 - meissner@suse.de
|
||||
|
||||
- Mark assembler code as not needing exec stack/heap by hacking
|
||||
the m4 -> assembler wrapper script.
|
||||
- Run "make check", as mandated by our packaging guidelines.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 13 21:24:30 CEST 2006 - aj@suse.de
|
||||
|
||||
- Fix build on x86-64.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 13 19:52:37 CEST 2006 - mjancar@suse.cz
|
||||
|
||||
- update to 4.2.1
|
||||
* many bugfixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 15 11:15:27 CEST 2006 - rguenther@suse.de
|
||||
|
||||
- Disable mpfr, which is now in new packages mpfr and mpfr-devel.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:30:20 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 13 16:28:42 CET 2006 - kukuk@suse.de
|
||||
|
||||
- Create -devel subpackage
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 11 16:25:05 CEST 2005 - meissner@suse.de
|
||||
|
||||
- fixed broken random2 code using patch from Richard Guenther.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 18 12:20:19 CEST 2005 - meissner@suse.de
|
||||
|
||||
- Fixed implicits.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 13 18:37:45 CEST 2005 - matz@suse.de
|
||||
|
||||
- Make it build on i386
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 9 13:20:10 CEST 2005 - ro@suse.de
|
||||
|
||||
- skip testsuite on alpha
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 16 12:27:16 CET 2005 - mcihar@suse.cz
|
||||
|
||||
- update to 4.1.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 18 01:55:34 CET 2004 - ro@suse.de
|
||||
|
||||
- fixed file list
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 6 00:48:25 CEST 2004 - schwab@suse.de
|
||||
|
||||
- Use autoreconf.
|
||||
- Fix read-only section check.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 10 17:26:49 CEST 2004 - tcrhak@suse.cz
|
||||
|
||||
- update to 4.1.3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 02 13:18:12 CET 2004 - tcrhak@suse.cz
|
||||
|
||||
- libtoolize, but preserve gmp wrappers for config.sub and config.guess
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 1 21:17:02 CET 2004 - meissner@suse.de
|
||||
|
||||
- make work on ppc64 again.
|
||||
- libtoolize to add .so. suffixes on amd64 and ia64 again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 01 17:45:07 CET 2004 - tcrhak@suse.cz
|
||||
|
||||
- fixed bug #33857:
|
||||
* applied some patches for 4.1.2
|
||||
* use gmp's own config.sub (fixes the configure problem)
|
||||
* added configure option --enable-cxx
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 27 01:04:16 CET 2004 - ro@suse.de
|
||||
|
||||
- try to fix build with regparm changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 10 01:05:45 CET 2004 - schwab@suse.de
|
||||
|
||||
- Fix quoting in autoconf macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 5 10:32:31 CET 2003 - kukuk@suse.de
|
||||
|
||||
- Fix compiling on s390(x)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 28 15:52:02 CET 2003 - schwab@suse.de
|
||||
|
||||
- Workaround gas bug causing invalid unwind information.
|
||||
- Fix aliasing bug in testsuite.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 15 14:49:58 CEST 2003 - ro@suse.de
|
||||
|
||||
- use jobs macro instead of -jsomething
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 15 13:19:45 CEST 2003 - adrian@suse.de
|
||||
|
||||
- fix build for mips
|
||||
- build as non-root
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 14 14:22:59 CEST 2003 - aj@suse.de
|
||||
|
||||
- Enable mpfr library.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 24 12:20:23 CEST 2003 - ro@suse.de
|
||||
|
||||
- fix install_info --delete call and move from preun to postun
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 13 00:13:04 CET 2003 - mmj@suse.de
|
||||
|
||||
- Add %install_info macros [#23415]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 15 20:46:45 CET 2003 - tcrhak@suse.cz
|
||||
|
||||
- update to version 4.1.2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 20 16:07:05 CET 2002 - schwab@suse.de
|
||||
|
||||
- Work around automake bugs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 25 15:06:35 CEST 2002 - uli@suse.de
|
||||
|
||||
- x86-64: compile mpf/cmp_si.c with -fno-cse-follow-jumps to work
|
||||
around compiler bug
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 17 17:34:28 CEST 2002 - ro@suse.de
|
||||
|
||||
- removed bogus self-provides
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 11 11:11:52 CEST 2002 - meissner@suse.de
|
||||
|
||||
- Disabled all ppc64 assembler functions for now, reenabled make check.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 10 16:21:45 CEST 2002 - olh@suse.de
|
||||
|
||||
- add some basic support for ppc64, disable make check
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 22 11:00:38 CEST 2002 - coolo@suse.de
|
||||
|
||||
- adding support for s390x
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 6 17:53:57 CEST 2002 - schwab@suse.de
|
||||
|
||||
- Fix last change.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 6 16:42:20 CEST 2002 - meissner@suse.de
|
||||
|
||||
- varargs fixes. You cannot just cast functions pointers between
|
||||
non-varargs and varargs functions, this _will_ fail on x86_64.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 18 13:28:00 CET 2002 - tcrhak@suse.cz
|
||||
|
||||
- used macros %{_lib} and %{_libdir}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 14 10:50:33 CEST 2001 - tcrhak@suse.cz
|
||||
|
||||
- update to version 4.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 1 15:36:52 CEST 2001 - dan@suse.cz
|
||||
|
||||
- use bzip instead of gzip
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 13 23:07:19 UTC 2001 - bk@suse.de
|
||||
|
||||
- Add support for s390x and update s390 support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 28 16:11:30 CEST 2001 - pblaha@suse.cz
|
||||
|
||||
- fix include on ia64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 15 13:29:35 CET 2000 - pblaha@suse.cz
|
||||
|
||||
- update to 3.1.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 10 18:13:14 CEST 2000 - schwab@suse.de
|
||||
|
||||
- Fix umul_ppm for ia64.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 7 10:30:49 CEST 2000 - schwab@suse.de
|
||||
|
||||
- Recover ia64 support.
|
||||
- Match "linux*" instead of "linux-gnu*".
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 31 13:20:59 CEST 2000 - smid@suse.cz
|
||||
|
||||
- upgrade to 3.0.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 15 19:05:03 CEST 2000 - schwab@suse.de
|
||||
|
||||
- Add basic support for ia64.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 14 09:49:54 CEST 2000 - smid@suse.cz
|
||||
|
||||
- buildroot added
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 7 20:02:44 CEST 2000 - bk@suse.de
|
||||
|
||||
- added suse config update macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 10 17:40:14 CET 2000 - kukuk@suse.de
|
||||
|
||||
- Move /usr/info -> /usr/share/info
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 14 14:16:11 MET 1999 - kukuk@suse.de
|
||||
|
||||
- Create shared libraries (BUG#1508)
|
||||
- Build libmp, too
|
||||
- Add a lot of patches
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
|
||||
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 3 16:34:54 CEST 1999 - uli@suse.de
|
||||
|
||||
- added patch for PPC
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 1 17:41:54 MEST 1999 - kukuk@suse.de
|
||||
|
||||
- Specfile cleanup
|
||||
- Run make check
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Tue Nov 26 20:15:03 CET 1996 - florian@suse.de
|
||||
|
||||
|
||||
- update to version 2.0.2
|
||||
|
1497
gmp.keyring
Normal file
1497
gmp.keyring
Normal file
File diff suppressed because it is too large
Load Diff
131
gmp.spec
Normal file
131
gmp.spec
Normal file
@ -0,0 +1,131 @@
|
||||
#
|
||||
# spec file for package gmp
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{!?make_build: %define make_build make %{?_smp_mflags}}
|
||||
Name: gmp
|
||||
Version: 6.3.0
|
||||
Release: 0
|
||||
Summary: A library for calculating huge numbers
|
||||
License: (GPL-2.0-or-later OR LGPL-3.0-or-later) AND GPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://gmplib.org/
|
||||
Source0: https://gmplib.org/download/%{name}/%{name}-%{version}.tar.xz
|
||||
Source1: https://gmplib.org/download/%{name}/%{name}-%{version}.tar.xz.sig
|
||||
Source2: %{name}.keyring
|
||||
Source3: baselibs.conf
|
||||
# revert change causing bsc#1179751
|
||||
Patch1: gmp-6.2.1-arm64-invert_limb.patch
|
||||
Patch2: gmp-6.3.0-s390x-fix.patch
|
||||
BuildRequires: fipscheck
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: m4
|
||||
BuildRequires: pkgconfig
|
||||
|
||||
%description
|
||||
GMP is a library for arbitrary precision arithmetic, operating on
|
||||
signed integers, rational numbers, and floating-point numbers. There
|
||||
is no practical limit to the precision except the ones implied by the
|
||||
available memory in the machine GMP runs on.
|
||||
|
||||
%package -n libgmp10
|
||||
Summary: A library for calculating huge numbers
|
||||
License: GPL-2.0-or-later OR LGPL-3.0-or-later
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libgmp10
|
||||
GMP is a library for arbitrary precision arithmetic, operating on
|
||||
signed integers, rational numbers, and floating-point numbers.
|
||||
|
||||
%package -n libgmpxx4
|
||||
Summary: C++ bindings for the GNU MP Library
|
||||
License: GPL-2.0-or-later OR LGPL-3.0-or-later
|
||||
Group: System/Libraries
|
||||
Requires: libgmp10 >= %{version}
|
||||
|
||||
%description -n libgmpxx4
|
||||
GMP is a library for arbitrary precision arithmetic, operating on
|
||||
signed integers, rational numbers, and floating-point numbers.
|
||||
|
||||
This package contains C++ bindings for the GNU MP Library.
|
||||
|
||||
%package devel
|
||||
Summary: Include Files and Libraries for Development with the GNU MP Library
|
||||
License: (GPL-2.0-or-later OR LGPL-3.0-or-later) AND GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: libgmp10 = %{version}
|
||||
Requires: libgmpxx4 = %{version}
|
||||
Requires(pre): %{install_info_prereq}
|
||||
Requires(preun):%{install_info_prereq}
|
||||
|
||||
%description devel
|
||||
These libraries are needed to develop programs which calculate with
|
||||
huge numbers (integer and floating point).
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fexceptions"
|
||||
%configure \
|
||||
--disable-static \
|
||||
--enable-cxx \
|
||||
--enable-fat
|
||||
%make_build
|
||||
|
||||
%check
|
||||
# do not disable "make check", FIX THE BUGS!
|
||||
%make_build check
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm %{buildroot}%{_libdir}/libgmp.la
|
||||
rm %{buildroot}%{_libdir}/libgmpxx.la
|
||||
export BRP_FIPSHMAC_FILES=%{buildroot}%{_libdir}/libgmp.so.10
|
||||
|
||||
%post -n libgmp10 -p /sbin/ldconfig
|
||||
%post -n libgmpxx4 -p /sbin/ldconfig
|
||||
%postun -n libgmp10 -p /sbin/ldconfig
|
||||
%postun -n libgmpxx4 -p /sbin/ldconfig
|
||||
|
||||
%post devel
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
|
||||
|
||||
%preun devel
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
|
||||
|
||||
%files -n libgmp10
|
||||
%license COPYING*
|
||||
%{_libdir}/libgmp.so.10*
|
||||
%{_libdir}/.libgmp.so.10.hmac
|
||||
|
||||
%files -n libgmpxx4
|
||||
%{_libdir}/libgmpxx.so.4*
|
||||
|
||||
%files devel
|
||||
%doc AUTHORS README NEWS
|
||||
%doc demos
|
||||
%{_infodir}/gmp.info*%{ext_info}
|
||||
%{_libdir}/libgmp.so
|
||||
%{_libdir}/libgmpxx.so
|
||||
%{_includedir}/gmp.h
|
||||
%{_includedir}/gmpxx.h
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user