diff --git a/python-u-msgpack-python.changes b/python-u-msgpack-python.changes index bc3068f..f2c0961 100644 --- a/python-u-msgpack-python.changes +++ b/python-u-msgpack-python.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 12 05:01:35 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Wed Dec 27 16:26:23 UTC 2023 - Dirk Müller diff --git a/python-u-msgpack-python.spec b/python-u-msgpack-python.spec index def9ba8..22abf55 100644 --- a/python-u-msgpack-python.spec +++ b/python-u-msgpack-python.spec @@ -1,7 +1,7 @@ # # spec file for package python-u-msgpack-python # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,9 @@ Summary: A MessagePack serializer and deserializer License: MIT URL: https://github.com/vsergeev/u-msgpack-python Source: https://files.pythonhosted.org/packages/source/u/u-msgpack-python/u-msgpack-python-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -42,10 +44,10 @@ UTF-8 string, and application-defined extended types. %setup -q -n u-msgpack-python-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -55,6 +57,6 @@ export LANG=en_US.UTF-8 %files %{python_files} %license LICENSE %{python_sitelib}/umsgpack -%{python_sitelib}/u_msgpack_python-%{version}-py%{python_version}.egg-info +%{python_sitelib}/u_msgpack_python-%{version}.dist-info %changelog