From f91c8fc36c60dc956dfdbe72078c85e4add98fa92b92c2b5d56c6503a9c9e5dc Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 5 Jun 2025 06:06:54 +0000 Subject: [PATCH] - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dictknife?expand=0&rev=13 --- python-dictknife.changes | 5 +++++ python-dictknife.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-dictknife.changes b/python-dictknife.changes index 367cd62..7ca33cb 100644 --- a/python-dictknife.changes +++ b/python-dictknife.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 5 06:01:36 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Mon Mar 18 10:48:41 UTC 2024 - Dirk Müller diff --git a/python-dictknife.spec b/python-dictknife.spec index d1f6896..a72fe5d 100644 --- a/python-dictknife.spec +++ b/python-dictknife.spec @@ -1,7 +1,7 @@ # # spec file for package python-dictknife # -# 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 @@ -29,10 +29,12 @@ BuildRequires: %{python_module google-api-python-client} BuildRequires: %{python_module google-auth-oauthlib} BuildRequires: %{python_module jsonpatch} BuildRequires: %{python_module magicalimport} +BuildRequires: %{python_module pip} BuildRequires: %{python_module prestring} BuildRequires: %{python_module pytest} BuildRequires: %{python_module ruamel.yaml} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives @@ -57,10 +59,10 @@ JSON pointer syntax. %autosetup -p1 -n dictknife-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/dictknife %python_clone -a %{buildroot}%{_bindir}/jsonknife %python_clone -a %{buildroot}%{_bindir}/swaggerknife