diff --git a/python-maxminddb.changes b/python-maxminddb.changes index 0ab7d1a..1bce754 100644 --- a/python-maxminddb.changes +++ b/python-maxminddb.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 17 04:35:55 UTC 2025 - Steve Kowalik + +- Use pyproject macros to build and install. + ------------------------------------------------------------------- Wed Apr 30 07:57:16 UTC 2025 - Sebastian Wagner diff --git a/python-maxminddb.spec b/python-maxminddb.spec index c07ada9..cab07f9 100644 --- a/python-maxminddb.spec +++ b/python-maxminddb.spec @@ -27,6 +27,7 @@ URL: http://www.maxmind.com/ Source: https://files.pythonhosted.org/packages/source/m/maxminddb/maxminddb-%{version}.tar.gz BuildRequires: %{python_module devel >= 3.6} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: libmaxminddb-devel @@ -49,10 +50,10 @@ sed -i '/nose/d' setup.py %build export CFLAGS="%{optflags}" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %check @@ -62,6 +63,6 @@ export CFLAGS="%{optflags}" %license LICENSE %doc README.rst %{python_sitearch}/maxminddb/ -%{python_sitearch}/maxminddb-%{version}*-info +%{python_sitearch}/maxminddb-%{version}.dist-info %changelog