15
0
2025-06-05 06:06:54 +00:00
committed by Git OBS Bridge
parent 6a1a30b490
commit 1f853f7e79
2 changed files with 10 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 5 06:01:36 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Mon Mar 18 10:48:41 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -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