Compare commits

...

11 Commits

Author SHA1 Message Date
openeuler-ci-bot
22db00c195
!27 [sync] PR-23: Cleanup spec
From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2025-02-17 12:44:35 +00:00
Funda Wang
1ada723176 Cleanup spec
(cherry picked from commit dc20450399c040d332ed5f1c6dbece3647fc0fc6)
2025-02-17 20:37:30 +08:00
openeuler-ci-bot
69aed19ee2
!22 upgrade to 4.2.1
From: @SuperSix173 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2024-02-26 03:09:29 +00:00
SuperSix173
a0ad2e055b upgrade to 4.2.1
Signed-off-by: SuperSix173 <liuchao173@huawei.com>
2024-02-26 10:57:40 +08:00
openeuler-ci-bot
004acf82ce
!17 add upstream patch for 4.2.0
From: @WizardHowl 
Reviewed-by: @SuperSix173 
Signed-off-by: @SuperSix173
2023-11-27 11:16:03 +00:00
WizardHowl
5b72a2a2cb mpfr:add upstream patch for 4.2.0
Add backport-allpatches.patch,and delete
mpfr-tests-tsprintf.c-Modified-a-buggy-test-of-the-thousa.patch,
which has been included in this patch.

Signed-off-by: WizardHowl <liuwenyu7@huawei.com>
2023-11-27 17:21:23 +08:00
openeuler-ci-bot
90de0bfc69
!13 update to 4.2.0 and fix build error
From: @WizardHowl 
Reviewed-by: @SuperSix173 
Signed-off-by: @SuperSix173
2023-08-07 14:23:37 +00:00
Wenyu Liu
36d876e495 Modified a buggy test of the thousands separator.
Signed-of-by: WizardHowl <liuwenyu7@huawei.com>
2023-08-07 22:10:55 +08:00
Wenyu Liu
748b550e57 mpfr: update to 4.2.0
Signed-of-by: WizardHowl <liuwenyu7@huawei.com>
2023-08-04 16:56:52 +08:00
openeuler-ci-bot
181bc74d04
!12 [合规提升]spec文件的License声明有歧义
From: @YixiongChen 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2022-08-08 09:22:37 +00:00
chenyx2012
158faac391
License compliance rectification 2022-08-04 07:15:07 +00:00
3 changed files with 33 additions and 29 deletions

Binary file not shown.

BIN
mpfr-4.2.1.tar.xz Normal file

Binary file not shown.

View File

@ -1,14 +1,14 @@
Name: mpfr
Version: 4.1.0
Version: 4.2.1
Release: 2
Summary: A C library for multiple-precision floating-point computations
URL: http://www.mpfr.org/
License: LGPLv3+ and GPLv3+ and GFDL
BuildRequires: autoconf libtool gmp-devel gcc git
Requires: /sbin/ldconfig
Requires: gmp >= 4.2.3
URL: https://www.mpfr.org/
License: LGPL-3.0-or-later and GPL-3.0-or-later and GFDL-1.2-only
BuildRequires: gcc make
BuildRequires: gmp-devel >= 1:5.0
Requires: gmp >= 1:5.0
Source0: http://www.mpfr.org/%{name}-%{version}/%{name}-%{version}.tar.xz
Source0: https://www.mpfr.org/%{name}-%{version}/%{name}-%{version}.tar.xz
%description
MPFR is a C library for arbitrary-precision binary floating-point computation
@ -22,8 +22,6 @@ in particular)
%package devel
Summary: Development files for the MPFR library
Requires: %{name} = %{version}-%{release}
Requires: /sbin/install-info
Requires: gmp-devel
%description devel
Devel for %{name}
@ -37,33 +35,17 @@ install the mpfr package.
%build
%configure --disable-assert --disable-static
make %{?_smp_mflags}
%make_build
%install
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/libmpfr.la
%make_install
%delete_la
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
rm -f $RPM_BUILD_ROOT%{_pkgdocdir}/COPYING $RPM_BUILD_ROOT%{_pkgdocdir}/COPYING.LESSER
%check
make %{?_smp_mflags} 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
%make_build check
%files
%license COPYING COPYING.LESSER
@ -78,6 +60,28 @@ fi
%{_libdir}/pkgconfig/mpfr.pc
%changelog
* Tue Aug 06 2024 Funda Wang <fundawang@yeah.net> - 4.2.1-2
- Cleanup spec
- bump epoch for gmp package
* Mon Feb 26 2024 Liu Chao <liuchao173@huawei.com> - 4.2.1-1
- Upgrade to 4.2.1
- Bug fixes
- Improved MPFR manual
- Configure tests
* Mon Nov 27 2023 Wenyu Liu<liuwenyu7@huawei.com> - 4.2.0-3
- Add upstream patch for 4.2.0.
* Fri Aug 4 2023 Wenyu Liu<liuwenyu7@huawei.com> - 4.2.0-2
- Modified a buggy test of the thousands separator.
* Fri Aug 4 2023 Wenyu Liu<liuwenyu7@huawei.com> - 4.2.0-1
- update to 4.2.0
* Thu Aug 4 2022 Chenyx <chenyixiong3@huawei.com> - 4.1.0-3
- License compliance rectification
* Fri Apr 01 2022 zhouwenpei<zhouwenpei1@h-partners.com> - 4.1.0-2
- delete old so file