Compare commits

...
Sign in to create a new pull request.

56 commits

Author SHA1 Message Date
Fedora Release Engineering
ebdaaedf86 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 22:24:07 +00:00
Lukáš Zaoral
830dbbe0e0
tests: migrate STI tests to TMT 2025-06-24 15:09:24 +02:00
Jerry James
d9e96fd5fb Update to MPFR 4.2.2 2025-03-20 11:24:02 -06:00
Fedora Release Engineering
ec4720d961 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-17 19:13:16 +00:00
Fedora Release Engineering
62bd2cdcc2 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 18:45:32 +00:00
Jerry James
0cf369ae90 Fix the VCS field
- Fix doc subpackage directory ownership issue
2024-07-17 09:55:08 -06:00
Jerry James
45cb3e8d14 Own the documentation directory (bz 2279758) 2024-05-09 09:25:19 -06:00
Fedora Release Engineering
5922b52bac Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 08:11:28 +00:00
Fedora Release Engineering
d1f3ce8df4 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 08:44:44 +00:00
Jerry James
c7d501bb84 Update to MPFR 4.2.1 2023-10-04 20:32:47 -06:00
Fedora Release Engineering
af7310239e Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 15:53:43 +00:00
Jerry James
1d54b0b669 Update to MPFR 4.2.0-p12 2023-07-18 15:09:15 -06:00
Jerry James
820b49a7d3 Update to MPFR 4.2.0-p9 2023-07-12 20:11:53 -06:00
Fedora Release Engineering
b8d86e27c1 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 20:49:46 +00:00
Jerry James
30b564b576 Update to MPFR 4.1.1-p1 (rhbz#2147377) 2022-11-23 15:04:59 -07:00
Jerry James
cca6e934e8 Update to MPFR version 4.1.1
- Drop all patches
- Convert License tags to SPDX
2022-11-17 14:38:40 -07:00
Fedora Release Engineering
2fb321653b Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 23:50:16 +00:00
Jerry James
ed735e8d2c Add README.md. 2022-07-18 13:59:56 -06:00
Fedora Release Engineering
4290d28595 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 20:30:59 +00:00
Jerry James
d80e858fdc Remove old obsoletes used in the 3.x to 4.x transition. 2022-01-14 13:13:31 -07:00
Fedora Release Engineering
4a657d6045 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 15:28:11 +00:00
Jerry James
f1eb89ef0d Add upstream patches 12-13. 2021-05-22 20:24:48 -06:00
Jerry James
08cf430d59 Add upstream patches 10-11. 2021-04-13 13:34:07 -06:00
Jerry James
d89286dc3e Add upstream patches 8-9. 2021-03-09 08:36:28 -07:00
Jerry James
9acef3eea7 Add upstream patches 1-7. 2021-02-17 10:27:27 -07:00
Fedora Release Engineering
c0016c7cad - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 20:53:43 +00:00
Robert Scheck
cbfeb6f663 Switch to HTTPS URLs 2021-01-13 22:48:59 +00:00
Jerry James
ab6fce68a6 Explicitly BR make. 2020-11-09 16:28:27 -07:00
Fedora Release Engineering
28c128f927 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 08:31:34 +00:00
Jerry James
40d31d2798 Update to MPFR version 4.1.0. Drop all patches. 2020-07-12 14:55:02 -06:00
Jerry James
9637b73146 Add upstream patches 8 and 9. 2020-06-29 14:29:35 -06:00
Jerry James
be947c1e21 Add upstream patches 2 through 7. 2020-04-16 14:23:20 -06:00
Fedora Release Engineering
4f066edbc4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 14:09:39 +00:00
Jerry James
acb6838241 Drop the mpfr3 and mpfr3-devel subpackages. 2019-10-11 10:41:13 -06:00
Jerry James
aaf4648ad5 Update to MPFR version 4.0.2 plus patch01.
Also:
- Make mpfr3 and mpfr3-devel subpackages for version 3.1.6
- Add a -doc subpackage to hold the GFDL-licensed content
- The main package license is LGPLv3+; the GPLv3+ content is not packaged
- Drop unnecessary autoconf and libtool BRs
- Drop explicit R on gmp; it is autogenerated
- Drop info scriptlets; this version can never appear in Fedora < 32 or RHEL < 9
- Drop ldconfig_scriptlets for the same reason
- Make sure there are no rpaths and that -Wl,--as-needed takes effect
- Do not use the %%doc macro; the files have already been copied
2019-10-08 14:28:34 -06:00
Fedora Release Engineering
6fea43f235 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 17:48:22 +00:00
Fedora Release Engineering
715bcf1e4e - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 11:34:21 +00:00
Igor Gnatenko
22423e7314
Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-27 19:39:22 +01:00
Rex Dieter
f4dc0f3ecf update scriptlets (#1644106)
use %make_build %make_install

if this is intended to be used in fedora (28+) only, can drop the
%%ldconfig_scriptlets and info-related scriptlets altogether.
2018-10-30 07:03:02 -05:00
Fedora Release Engineering
14044d1ec9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 11:05:54 +00:00
Pavel Cahyna
981068def2 Add a simple test: computing a number in the Sylvester sequence
https://www.gnu.org/software/gawk/manual/html_node/Arbitrary-Precision-Integers.html#Arbitrary-Precision-Integers
2018-03-12 15:25:48 +01:00
Pavel Cahyna
f422ddcf5e Rebase to 3.1.6
- related: #1489625
Correct encoding of the info file
 - resolves: #1299649
BuildRequire gcc (https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B#BuildRequires_and_Requires)
Other minor cleanups.
Mostly provided by James Paul Turner <jamesturner246@fedoraproject.org>
2018-02-25 21:49:19 +01:00
Fedora Release Engineering
c66a201ca3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-08 03:21:27 +00:00
Fedora Release Engineering
f027070a12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 03:37:03 +00:00
Fedora Release Engineering
f91aec678a - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 22:20:06 +00:00
Peter Robinson
dc787f1468 Examples should be in devel, Minor cleanups 2017-03-04 15:09:15 +00:00
Frantisek Kluknavsky
7fe92b13b9 Add missing %license macro 2017-02-06 15:57:52 +01:00
Stephen Gallagher
3d2a58a6b0 Add missing %license macro 2017-02-06 15:34:11 +01:00
Frantisek Kluknavsky
cfd38587d7 rebase 2016-09-27 15:34:38 +02:00
Frantisek Kluknavsky
8ef6961dc3 Rebase 2016-03-08 14:12:56 +01:00
Fedora Release Engineering
2b83952f6a - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 08:48:02 +00:00
Dan Horák
fa2aff14c7 - drop support for F<20 2016-01-21 10:28:14 +01:00
David Sommerseth
48dfe55c1d Fix building on Fedora 23
When doing mock build on Fedora 23, it complains about unpackaged doc files

Signed-off-by: David Sommerseth <davids@redhat.com>
2015-11-03 16:40:49 +01:00
Frantisek Kluknavsky
9e9b95bccb Merge branch 'master' of ssh://pkgs.fedoraproject.org/mpfr
Conflicts:
	mpfr.spec
2015-06-23 16:29:30 +02:00
Frantisek Kluknavsky
7ef3faf99a rebase to 3.1.3 2015-06-23 16:27:06 +02:00
Dennis Gilmore
d303db3167 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 21:07:16 +00:00
10 changed files with 2465 additions and 77 deletions

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

5
.gitignore vendored
View file

@ -1,3 +1,2 @@
/mpfr-3.1.1.tar.xz /mpfr-*.zip
/mpfr-3.1.2.zip /mpfr-*.tar.xz
/mpfr-3.1.2.tar.xz

16
README.md Normal file
View file

@ -0,0 +1,16 @@
# mpfr
The [MPFR library](https://www.mpfr.org/) is a C library for
multiple-precision floating-point computations with _correct rounding_. MPFR
has continuously been supported by [INRIA](https://www.inria.fr/) and the
current main authors come from the [Caramba](https://caramba.loria.fr/) and
[AriC](http://www.ens-lyon.fr/LIP/AriC/) project teams at
[Loria](https://www.loria.fr/) (Nancy, France) and
[LIP](http://www.ens-lyon.fr/LIP/) (Lyon, France) respectively; see more on
the [credit page](https://www.mpfr.org/credit.html). MPFR is based on the
[GMP](https://gmplib.org/) multiple-precision library.
The main goal of MPFR is to provide a library for multiple-precision
floating-point computation which is both efficient and has a well-defined
semantics. It copies the good ideas from the ANSI/IEEE-754 standard for
double-precision floating-point arithmetic (53-bit significand).

2194
allpatches Normal file

File diff suppressed because it is too large Load diff

View file

@ -1,15 +0,0 @@
--- mpfr-3.1.2-a/src/strtofr.c 2013-03-13 15:37:32.000000000 +0000
+++ mpfr-3.1.2-b/src/strtofr.c 2014-12-04 01:41:57.287791246 +0000
@@ -473,8 +473,10 @@
/* prec bits corresponds to ysize limbs */
ysize_bits = ysize * GMP_NUMB_BITS;
/* and to ysize_bits >= prec > MPFR_PREC (x) bits */
- y = MPFR_TMP_LIMBS_ALLOC (2 * ysize + 1);
- y += ysize; /* y has (ysize+1) allocated limbs */
+ /* we need to allocate one more limb to work around bug
+ https://gmplib.org/list-archives/gmp-bugs/2013-December/003267.html */
+ y = MPFR_TMP_LIMBS_ALLOC (2 * ysize + 2);
+ y += ysize; /* y has (ysize+2) allocated limbs */
/* pstr_size is the number of characters we read in pstr->mant
to have at least ysize full limbs.

280
mpfr.spec
View file

@ -1,18 +1,20 @@
Summary: A C library for multiple-precision floating-point computations Summary: C library for multiple-precision floating-point computations
Name: mpfr Name: mpfr
Version: 3.1.2 Version: 4.2.2
Release: 8%{?dist} Release: 2%{?dist}
URL: http://www.mpfr.org/ URL: https://www.mpfr.org/
Source0: http://www.mpfr.org/mpfr-current/%{name}-%{version}.tar.xz VCS: git:https://gitlab.inria.fr/mpfr/mpfr.git
# GFDL (mpfr.texi, mpfr.info and fdl.texi)
License: LGPLv3+ and GPLv3+ and GFDL
Group: System Environment/Libraries
BuildRequires: autoconf libtool gmp-devel
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Requires: gmp >= 4.2.1
Patch0: limboverflow.patch License: LGPL-3.0-or-later
BuildRequires: gcc
BuildRequires: gmp-devel
BuildRequires: make
BuildRequires: texinfo
Source: https://www.mpfr.org/%{name}-%{version}/%{name}-%{version}.tar.xz
# Upstream post-release patches. This currently contains:
#Patch0: https://www.mpfr.org/%%{name}-%%{version}/allpatches
%description %description
The MPFR library is a C library for multiple-precision floating-point The MPFR library is a C library for multiple-precision floating-point
@ -22,71 +24,241 @@ ANSI/IEEE-754 standard for double-precision floating-point arithmetic
(53-bit mantissa). MPFR is based on the GMP multiple-precision library. (53-bit mantissa). MPFR is based on the GMP multiple-precision library.
%package devel %package devel
Summary: Development tools A C library for mpfr library Summary: Development files for the MPFR library
Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name} = %{version}-%{release} Requires: gmp-devel%{?_isa}
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
Requires: gmp-devel
%description devel %description devel
Header files and documentation for using the MPFR Header files and documentation for using the MPFR
multiple-precision floating-point library in applications. multiple-precision floating-point library in applications.
If you want to develop applications which will use the MPFR library, If you want to develop applications which will use the MPFR library,
you'll need to install the mpfr-devel package. You'll also need to you'll need to install the mpfr-devel package. You'll also need to
install the mpfr package. install the mpfr package.
%package doc
Summary: Documentation for the MPFR library
License: GFDL-1.2-no-invariants-or-later
BuildArch: noarch
%description doc
Documentation for the MPFR library.
%prep %prep
%setup -q %autosetup -p1
%patch0 -p1 -b .limboverflow
%build %build
%configure --disable-assert --disable-static %configure --disable-assert --disable-static
make %{?_smp_mflags}
# Get rid of undesirable hardcoded rpaths; workaround libtool reordering
# -Wl,--as-needed after all the libraries.
sed -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
-e 's|CC="\(g..\)"|CC="\1 -Wl,--as-needed"|' \
-i libtool
%make_build
%install %install
iconv -f iso-8859-1 -t utf-8 doc/mpfr.info > doc/mpfr.info.aux %make_install
mv doc/mpfr.info.aux doc/mpfr.info cp -p ChangeLog PATCHES README %{buildroot}%{_pkgdocdir}
make install DESTDIR=$RPM_BUILD_ROOT rm -f %{buildroot}%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/libmpfr.la rm -f %{buildroot}%{_infodir}/dir
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
%if 0%{?fedora} < 20 #these go into licenses, not doc
mkdir $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version} rm -f %{buildroot}%{_pkgdocdir}/COPYING{,.LESSER}
mv $RPM_BUILD_ROOT/%{_docdir}/%{name}/ $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/
%endif
%check %check
make %{?_smp_mflags} check export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
%make_build check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post devel
if [ -f %{_infodir}/mpfr.info.gz ]; then
/sbin/install-info %{_infodir}/mpfr.info.gz %{_infodir}/dir || :
fi
%preun devel
if [ "$1" = 0 ]; then
if [ -f %{_infodir}/mpfr.info.gz ]; then
/sbin/install-info --delete %{_infodir}/mpfr.info.gz %{_infodir}/dir || :
fi
fi
%files %files
%defattr(-,root,root,-) %license COPYING COPYING.LESSER
%doc COPYING COPYING.LESSER NEWS README %dir %{_pkgdocdir}
%{_libdir}/libmpfr.so.* %{_pkgdocdir}/NEWS
%{_pkgdocdir}/README
%{_libdir}/libmpfr.so.6*
%files devel %files devel
%defattr(-,root,root,-)
%{_libdir}/libmpfr.so %{_libdir}/libmpfr.so
%{_includedir}/*.h %{_includedir}/mpfr.h
%{_includedir}/mpf2mpfr.h
%{_libdir}/pkgconfig/mpfr.pc
%files doc
%license COPYING COPYING.LESSER
%dir %{_pkgdocdir}
%{_pkgdocdir}/AUTHORS
%{_pkgdocdir}/BUGS
%{_pkgdocdir}/ChangeLog
%{_pkgdocdir}/FAQ.html
%{_pkgdocdir}/PATCHES
%{_pkgdocdir}/TODO
%{_pkgdocdir}/examples
%{_infodir}/mpfr.info* %{_infodir}/mpfr.info*
%changelog %changelog
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Thu Mar 20 2025 Jerry James <loganjerry@gmail.com> - 4.2.2-1
- Update to MPFR 4.2.2
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Thu May 9 2024 Jerry James <loganjerry@gmail.com> - 4.2.1-4
- Own the documentation directory (bz 2279758)
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Oct 4 2023 Jerry James <loganjerry@gmail.com> - 4.2.1-1
- Update to MPFR 4.2.1
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jul 18 2023 Jerry James <loganjerry@gmail.com> - 4.2.0-2
- Update to MPFR 4.2.0-p12
* Wed Jul 12 2023 Jerry James <loganjerry@gmail.com> - 4.2.0-1
- Update to MPFR 4.2.0-p9
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Nov 23 2022 Jerry James <loganjerry@gmail.com> - 4.1.1-2
- Update to MPFR 4.1.1-p1
* Thu Nov 17 2022 Jerry James <loganjerry@gmail.com> - 4.1.1-1
- Update to MPFR version 4.1.1
- Drop all patches
- Convert License tags to SPDX
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jan 14 2022 Jerry James <loganjerry@gmail.com> - 4.1.0-8
- Remove old obsoletes used in the 3.x to 4.x transition
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Sat May 22 2021 Jerry James <loganjerry@gmail.com> - 4.1.0-7
- Add upstream patches 12-13
* Tue Apr 13 2021 Jerry James <loganjerry@gmail.com> - 4.1.0-6
- Add upstream patches 10-11
* Tue Mar 9 2021 Jerry James <loganjerry@gmail.com> - 4.1.0-5
- Add upstream patches 8-9
* Wed Feb 17 2021 Jerry James <loganjerry@gmail.com> - 4.1.0-4
- Add upstream patches 1-7
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sat Jul 11 2020 Jerry James <loganjerry@gmail.com> - 4.1.0-1
- Update to MPFR version 4.1.0
- Drop all patches
* Mon Jun 29 2020 Jerry James <loganjerry@gmail.com> - 4.0.2-5
- Add upstream patches 8 and 9
* Thu Apr 16 2020 Jerry James <loganjerry@gmail.com> - 4.0.2-4
- Add upstream patches 2 through 7
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Oct 11 2019 Jerry James <loganjerry@gmail.com> - 4.0.2-2
- Drop the mpfr3 and mpfr3-devel subpackages
* Tue Oct 8 2019 Jerry James <loganjerry@gmail.com> - 4.0.2-1
- Update to MPFR version 4.0.2 plus patch01
- Make mpfr3 and mpfr3-devel subpackages for version 3.1.6
- Add a -doc subpackage to hold the GFDL-licensed content
- The main package license is LGPLv3+; the GPLv3+ content is not packaged
- Drop unnecessary autoconf and libtool BRs
- Drop explicit R on gmp; it is autogenerated
- Drop info scriptlets; this version can never appear in Fedora < 32 or RHEL < 9
- Drop ldconfig_scriptlets for the same reason
- Make sure there are no rpaths and that -Wl,--as-needed takes effect
- Do not use the %%doc macro; the files have already been copied
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Oct 30 2018 Rex Dieter <rdieter@fedoraproject.org> - 3.1.6-3
- update scriptlets (#1644106)
- use %%make_build %%make_install
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Sun Feb 25 2018 James Paul Turner <jamesturner246@fedoraproject.org> - 3.1.6-1
- Update to MPFR version 3.1.6
- Use autosetup specfile macro for applying patches (patches 1 and 2 applied)
- Removed iconv calls, as they were breaking .info files, which are now unicode
resolves #1299649
- Other minor cleanups
- BuildRequire gcc per https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B#BuildRequires_and_Requires
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.5-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Mar 4 2017 Peter Robinson <pbrobinson@fedoraproject.org> 3.1.5-3
- Examples should be in devel
- Minor cleanups
* Wed Feb 01 2017 Stephen Gallagher <sgallagh@redhat.com> - 3.1.5-2
- Add missing %%license macro
* Tue Sep 27 2016 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.1.5-1
- rebase
* Tue Mar 08 2016 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.1.4-1
- Rebase
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Jan 21 2016 Dan Horák <dan[at]danny.cz> - 3.1.3-3
- drop support for F<20
* Fri Oct 23 2015 David Sommerseth <davids@redhat.com> - 3.1.3-2
- Fixed missing packaging of doc files
* Tue Jun 23 2015 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.1.3-1
- rebase to 3.1.3
- limboverflow.patch already in tarball, dropped
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.2-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Fri Dec 12 2014 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.1.2-8 * Fri Dec 12 2014 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.1.2-8
- added limboverflow.patch, rhbz#1171701, rhbz#1171710, there was one less limb allocated in strtofr - added limboverflow.patch, rhbz#1171701, rhbz#1171710, there was one less limb allocated in strtofr

5
plans/ci.fmf Normal file
View file

@ -0,0 +1,5 @@
summary: Basic smoke test
discover:
how: fmf
execute:
how: tmt

View file

@ -1 +1 @@
e3d203d188b8fe60bb6578dd3152e05c mpfr-3.1.2.tar.xz SHA512 (mpfr-4.2.2.tar.xz) = eb9e7f51b5385fb349cc4fba3a45ffdf0dd53be6dfc74932dc01258158a10514667960c530c47dd9dfc5aa18be2bd94859d80499844c5713710581e6ac6259a9

View file

@ -0,0 +1,6 @@
summary: Calculate Silvester Number
framework: shell
test: ./test.sh
component: mpfr
recommends:
- gawk

10
tests/silvester-number/test.sh Executable file
View file

@ -0,0 +1,10 @@
#!/bin/sh -eux
OUT="$(gawk -M 'BEGIN {
s = 2
for (i = 1; i <= 7; i++)
s = s * (s - 1) + 1
print s
}')"
test "$OUT" = "113423713055421844361000443"