From c6a8510600b003e0667c8586a4a031fd1f57896d Mon Sep 17 00:00:00 2001 From: Jerry James Date: Fri, 8 Oct 2021 14:55:29 -0600 Subject: [PATCH] Version 2.1.0 rc1. --- README.md | 6 ++++++ python-gmpy2.spec | 13 +++++++++---- sources | 2 +- 3 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..09e7437 --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +# python-gmpy2 + +gmpy2 is an optimized, C-coded Python extension module that supports fast +multiple-precision arithmetic. gmpy2 is based on the original gmpy module. +gmpy2 adds support for correctly rounded multiple-precision real arithmetic +(using the MPFR library) and complex arithmetic (using the MPC library). diff --git a/python-gmpy2.spec b/python-gmpy2.spec index e3787c7..4dc40c0 100644 --- a/python-gmpy2.spec +++ b/python-gmpy2.spec @@ -1,9 +1,9 @@ %global srcname gmpy2 -%global prerelease b6 +%global prerelease rc1 Name: python-%{srcname} Version: 2.1.0 -Release: 0.26%{?prerelease:.%{prerelease}}%{?dist} +Release: 0.27%{?prerelease:.%{prerelease}}%{?dist} Summary: Python interface to GMP, MPFR, and MPC License: LGPLv3+ @@ -17,8 +17,10 @@ BuildRequires: make BuildRequires: pkgconfig(mpfr) BuildRequires: python3-devel BuildRequires: %{py3_dist cython} +BuildRequires: %{py3_dist pip} BuildRequires: %{py3_dist setuptools} BuildRequires: %{py3_dist sphinx} +BuildRequires: %{py3_dist wheel} %global common_desc \ This package contains a C-coded Python extension module that supports \ @@ -54,11 +56,11 @@ sed -i "s/'mpfr','gmp'/&,'m'/" setup.py export CC=gcc export LDSHARED="gcc -shared" -%py3_build +%pyproject_wheel make -C docs html %install -%py3_install +%pyproject_install %check export PYTHONPATH=%{buildroot}%{python3_sitearch} @@ -74,6 +76,9 @@ cd - %{python3_sitearch}/%{srcname}* %changelog +* Fri Oct 8 2021 Jerry James - 2.1.0-0.27.rc1 +- Version 2.1.0 rc1 + * Wed Aug 11 2021 Jerry James - 2.1.0-0.26.b6 - Version 2.1.0 beta6 - Drop all patches diff --git a/sources b/sources index ba6abde..1d3d168 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gmpy2-2.1.0b6.tar.gz) = d39b20ae219c75c975f01e169a37318464f8557a08b25ee466c9a6af475a899cf14da5ee48e8b3754074156f8ff7292158ce30e98848b5452e30486243725a99 +SHA512 (gmpy2-2.1.0rc1.tar.gz) = 7d178d34663737e50056a74445802c63bb9ab89147a53da6af478b0b4c1df5b0ba2f7a860f85f985312fbf8b4aee89b13a5f5fe8f04b120fed2fbdc78b2873f0