diff --git a/python-quicktions.changes b/python-quicktions.changes index 179aa64..53f8813 100644 --- a/python-quicktions.changes +++ b/python-quicktions.changes @@ -4,8 +4,7 @@ Mon Jun 10 09:45:47 UTC 2024 - Dirk Müller - update to 1.18: * New binary wheels were added built with gcc 12 (manylinux_2_28). - * x86_64 wheels now require SSE4.2. - * Built using Cython 3.0.10. +- use PEP517/wheel build ------------------------------------------------------------------- Mon Mar 25 12:27:02 UTC 2024 - Dirk Müller diff --git a/python-quicktions.spec b/python-quicktions.spec index 673bdba..a54046c 100644 --- a/python-quicktions.spec +++ b/python-quicktions.spec @@ -26,7 +26,9 @@ URL: https://github.com/scoder/quicktions Source: https://files.pythonhosted.org/packages/source/q/quicktions/quicktions-%{version}.tar.gz BuildRequires: %{python_module Cython >= 3} BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION test requirements @@ -54,10 +56,10 @@ Py3.4, quicktions is currently about 10x faster, and still about %build export CFLAGS="%{optflags}" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %check @@ -67,6 +69,7 @@ export PYTHONDONTWRITEBYTECODE=1 %files %{python_files} %doc CHANGES.rst README.rst %license LICENSE -%{python_sitearch}/* +%{python_sitearch}/quicktions.cpython-*so +%{python_sitearch}/quicktions-%{version}.dist-info %changelog