From 480c8638654170c309a86ebc79d4b1004335a8a7b744f9003a2f3c333c3753e3 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 5 Jun 2025 06:06:27 +0000 Subject: [PATCH] - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-derpconf?expand=0&rev=7 --- python-derpconf.changes | 5 +++++ python-derpconf.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-derpconf.changes b/python-derpconf.changes index 2a908f6..59ebeb0 100644 --- a/python-derpconf.changes +++ b/python-derpconf.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 5 06:01:36 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Sun Jan 14 17:46:42 UTC 2024 - Dirk Müller diff --git a/python-derpconf.spec b/python-derpconf.spec index fcd2c42..caedaf0 100644 --- a/python-derpconf.spec +++ b/python-derpconf.spec @@ -1,7 +1,7 @@ # # spec file for package python-derpconf # -# 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/globocom/derpconf Source: https://github.com/globocom/derpconf/archive/refs/tags/%{version}.tar.gz # https://github.com/globocom/derpconf/issues/26 Patch0: python-derpconf-no-six.patch +BuildRequires: %{python_module pip} BuildRequires: %{python_module pyVows} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -41,10 +43,10 @@ derpconf abstracts loading configuration files for your app. %build sed -i '1{/^#!/ d}' derpconf/*.py -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check