diff --git a/mpdecimal-2.5.0-tests-fix.patch b/mpdecimal-2.5.0-tests-fix.patch deleted file mode 100644 index 8debf82..0000000 --- a/mpdecimal-2.5.0-tests-fix.patch +++ /dev/null @@ -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 - \ No newline at end of file diff --git a/mpdecimal.spec b/mpdecimal.spec index d9cda31..c2c0e29 100644 --- a/mpdecimal.spec +++ b/mpdecimal.spec @@ -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 - 2.5.1-1 +- New version + Resolves: rhbz#1921929 + * Tue Jan 26 2021 Fedora Release Engineering - 2.5.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index 9929056..4618a3d 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (mpdecimal-2.5.0.tar.gz) = 6f889f5f8c3e5854204ad7380b63c1bfeb5193c1d464f9a32149d47d1c9bd996c6a57b867ab65ea84f33e87fe69cb45ad78aa2abfb9bb5144eb527587016c472 +SHA512 (mpdecimal-2.5.1.tar.gz) = 710cb5cb71dbcf3e170ca15869c148df0547b848400c6b6dd70c67d9961dbe1190af8fb4d1623bfb0ca2afe44f369a42e311ab5225ed89d4031cb49a3bd70f30 SHA512 (dectest.zip) = 05f9d12aec1ebfc9ca211b01705b41c5cd1bbc54d9aa6c4799b40fb3ab1835433fd1a277735d26d2530c3793c58b107b3abb1c31f64340e5e9d7856d92c821cf