From 46c74458878b52f5c577bba4cba20122452aac664a18bc5296aa0f08ea46a79b Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 5 Jun 2025 04:42:52 +0000 Subject: [PATCH] - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-msgpack?expand=0&rev=40 --- python-msgpack.changes | 5 +++++ python-msgpack.spec | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/python-msgpack.changes b/python-msgpack.changes index 8b12ebf..7b10ec0 100644 --- a/python-msgpack.changes +++ b/python-msgpack.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 5 04:38:03 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Fri Sep 13 05:36:08 UTC 2024 - ecsos diff --git a/python-msgpack.spec b/python-msgpack.spec index 8f50706..7e63774 100644 --- a/python-msgpack.spec +++ b/python-msgpack.spec @@ -1,7 +1,7 @@ # # spec file for package python-msgpack # -# Copyright (c) 2024 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 @@ -26,8 +26,10 @@ URL: https://github.com/msgpack/msgpack-python Source: https://files.pythonhosted.org/packages/source/m/msgpack/msgpack-%{version}.tar.gz BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: python-rpm-macros @@ -47,10 +49,10 @@ focused on high performance. It is like JSON, but very fast and small. %build export CFLAGS="%{optflags}" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %check @@ -60,6 +62,6 @@ export CFLAGS="%{optflags}" %doc README.md %license COPYING %{python_sitearch}/msgpack -%{python_sitearch}/msgpack-%{version}-py*.egg-info +%{python_sitearch}/msgpack-%{version}.dist-info %changelog