From d65a5dc714dd466a7c5c7d080ae80516571a2905 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Oct 08 2021 04:06:51 +0000 Subject: Rebuild for polymake 4.5. Modernize the python macros. --- diff --git a/python-jupymake.spec b/python-jupymake.spec index 228c920..199d107 100644 --- a/python-jupymake.spec +++ b/python-jupymake.spec @@ -8,7 +8,7 @@ Name: python-jupymake Version: 0.9 -Release: 14.%{gitdate}.%{shortcommit}%{?dist} +Release: 15.%{gitdate}.%{shortcommit}%{?dist} Summary: Python wrapper for the polymake shell License: GPLv2+ @@ -17,8 +17,11 @@ Source0: %{url}/archive/%{commit}/%{srcname}-%{shortcommit}.tar.gz BuildRequires: gcc-c++ BuildRequires: libnormaliz-devel -BuildRequires: python3-devel BuildRequires: polymake +BuildRequires: python3-devel +BuildRequires: %{py3_dist pip} +BuildRequires: %{py3_dist setuptools} +BuildRequires: %{py3_dist wheel} %global _description %{expand: This package provides a basic interface to call polymake from python. @@ -30,20 +33,16 @@ It is meant to be used in the Jupyter interface for polymake.} Summary: Python wrapper for the polymake shell Requires: polymake%{?_isa} -# This can be removed when Fedora 31 reaches EOL -Obsoletes: python3-%{srcname} < 0.9 -Provides: pytnon3-%{srcname} = %{version}-%{release} - %description -n python3-jupymake %_description %prep %autosetup -n %{srcname}-%{commit} %build -%py3_build +%pyproject_wheel %install -%py3_install +%pyproject_install %check %py3_check_import JuPyMake @@ -54,6 +53,10 @@ Provides: pytnon3-%{srcname} = %{version}-%{release} %{python3_sitearch}/%{srcname}* %changelog +* Thu Oct 7 2021 Jerry James - 0.9-15.20190509.031cc3a +- Rebuild for polymake 4.5 +- Modernize the python macros + * Fri Jul 23 2021 Fedora Release Engineering - 0.9-14.20190509.031cc3a - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild