diff --git a/backport-0001-added-missing-include.patch b/backport-0001-added-missing-include.patch deleted file mode 100644 index 765d012413d91dfd1c4ff535b6de7102d8e89372..0000000000000000000000000000000000000000 --- a/backport-0001-added-missing-include.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 21668770977368459c74723f2bddad38b727ea20 Mon Sep 17 00:00:00 2001 -From: Paul Zimmermann -Date: Thu, 20 Aug 2020 08:56:54 +0200 -Subject: [PATCH 07/11] added missing include - -Reported by Andreas, while using mpc-1.2.0 to bootstrap Guix, -where mpc-1.2.0 is used to compile gcc-7.5.0: - -In file included from ../../../gcc-7.5.0/mpc/src/asin.c:22:0: -../../../gcc-7.5.0/mpc/src/asin.c: In function 'mpc_asin_series': -../../../gcc-7.5.0/mpc/src/asin.c:132:27: error: 'ULONG_MAX' undeclared (first use in this function) - MPC_ASSERT(2 * k - 1 <= ULONG_MAX / (2 * k - 1)); ---- - src/asin.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/asin.c b/src/asin.c -index 444275f..2c3fa32 100644 ---- a/src/asin.c -+++ b/src/asin.c -@@ -19,6 +19,7 @@ along with this program. If not, see http://www.gnu.org/licenses/ . - */ - - #include -+#include /* for ULONG_MAX */ - #include "mpc-impl.h" - - /* Special case op = 1 + i*y for tiny y (see algorithms.tex). --- -1.8.3.1 - diff --git a/libmpc.spec b/libmpc.spec index 139e47b3046074051ac106a95cbdbc825125103d..085a96c138581fe97be38702372c49b9dac9e56c 100644 --- a/libmpc.spec +++ b/libmpc.spec @@ -1,13 +1,11 @@ Name: libmpc -Version: 1.2.0 -Release: 4 +Version: 1.3.1 +Release: 1 Summary: C library for multiple precision complex arithmetic License: LGPLv3+ and GFDL-1.3-only URL: http://www.multiprecision.org/ Source0: https://ftp.gnu.org/gnu/mpc/mpc-%{version}.tar.gz -Patch6000: backport-0001-added-missing-include.patch - BuildRequires: gcc BuildRequires: gmp-devel >= 5.0.0 BuildRequires: mpfr-devel >= 4.1.0 @@ -29,7 +27,6 @@ Header files and shared object symlinks for MPC is a C library. %prep %setup -q -n mpc-%{version} -%patch6000 -p1 %build %configure --disable-static @@ -72,6 +69,9 @@ fi %{_libdir}/libmpc.so %changelog +* Sat Jan 28 2023 Wenyu Liu - 1.3.1-1 +- Upgrade to 1.3.1 + * Thu Jan 5 2023 Wenyu Liu - 1.2.0-4 - Rectify the content that does not comply with specifications in the spec file diff --git a/mpc-1.2.0.tar.gz b/mpc-1.2.0.tar.gz deleted file mode 100644 index f78daae50511509d5b0dd23a6113b2745526e30f..0000000000000000000000000000000000000000 Binary files a/mpc-1.2.0.tar.gz and /dev/null differ diff --git a/mpc-1.3.1.tar.gz b/mpc-1.3.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..a1aa444c6fb39228fc258b78d07c6cd440b48c12 Binary files /dev/null and b/mpc-1.3.1.tar.gz differ