New version

Resolves: rhbz#1921929
This commit is contained in:
Jaroslav Škarvada 2021-02-01 14:23:17 +01:00
parent 314342fc4d
commit 90c8192c4e
3 changed files with 9 additions and 26 deletions

View File

@ -1,18 +0,0 @@
diff -ur mpdecimal-2.5.0/libmpdec++/decimal.hh mpdecimal-2.5.0/libmpdec++/decimal.hh
--- mpdecimal-2.5.0/libmpdec++/decimal.hh 2020-06-27 21:41:49.000000000 +0200
+++ mpdecimal-2.5.0/libmpdec++/decimal.hh 2020-08-05 13:39:26.570886524 +0200
@@ -47,9 +47,13 @@
#include "mpdecimal.h"
+#undef iscanonical /* math.h */
#undef isfinite /* math.h */
+#undef isinf /* math.h */
#undef isnan /* math.h */
+#undef isnormal /* math.h */
#undef issubnormal /* math.h */
+#undef iszero /* math.h */
#undef isspecial /* ctype.h */
#ifdef _MSC_VER

View File

@ -2,8 +2,8 @@
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
Name: mpdecimal
Version: 2.5.0
Release: 4%{?dist}
Version: 2.5.1
Release: 1%{?dist}
Summary: Library for general decimal arithmetic
License: BSD
@ -11,14 +11,11 @@ URL: http://www.bytereef.org/mpdecimal/index.html
Source0: http://www.bytereef.org/software/mpdecimal/releases/mpdecimal-%{version}.tar.gz
Source1: http://speleotrove.com/decimal/dectest.zip
BuildRequires: make
BuildRequires: make
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: unzip
# Patch provided by upstream
Patch0: mpdecimal-2.5.0-tests-fix.patch
%description
The package contains a library limpdec implementing General Decimal Arithmetic
Specification. The specification, written by Mike Cowlishaw from IBM, defines
@ -47,7 +44,7 @@ Provides: bundled(js-underscore) = 1.4.4
The package contains documentation for the mpdecimal library.
%prep
%autosetup -p1
%autosetup
unzip -d tests/testdata %{SOURCE1}
%build
@ -93,6 +90,10 @@ fi
%ldconfig_scriptlets
%changelog
* Mon Feb 1 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2.5.1-1
- New version
Resolves: rhbz#1921929
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

View File

@ -1,2 +1,2 @@
SHA512 (mpdecimal-2.5.0.tar.gz) = 6f889f5f8c3e5854204ad7380b63c1bfeb5193c1d464f9a32149d47d1c9bd996c6a57b867ab65ea84f33e87fe69cb45ad78aa2abfb9bb5144eb527587016c472
SHA512 (mpdecimal-2.5.1.tar.gz) = 710cb5cb71dbcf3e170ca15869c148df0547b848400c6b6dd70c67d9961dbe1190af8fb4d1623bfb0ca2afe44f369a42e311ab5225ed89d4031cb49a3bd70f30
SHA512 (dectest.zip) = 05f9d12aec1ebfc9ca211b01705b41c5cd1bbc54d9aa6c4799b40fb3ab1835433fd1a277735d26d2530c3793c58b107b3abb1c31f64340e5e9d7856d92c821cf