From fde27a3a518cc1c113d31eae75a1f9ea371b2779ae140c922ea790ff2e148d50 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Fri, 2 May 2025 03:13:25 +0000 Subject: [PATCH] - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aenum?expand=0&rev=28 --- python-aenum.changes | 5 +++++ python-aenum.spec | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/python-aenum.changes b/python-aenum.changes index f04d7b3..05c6346 100644 --- a/python-aenum.changes +++ b/python-aenum.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 2 03:13:04 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Tue Feb 6 08:42:07 UTC 2024 - Daniel Garcia diff --git a/python-aenum.spec b/python-aenum.spec index 27e7f6b..83d09b4 100644 --- a/python-aenum.spec +++ b/python-aenum.spec @@ -1,7 +1,7 @@ # # spec file for package python-aenum # -# 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 @@ -32,7 +32,9 @@ Patch0: tempdir_missing.patch Patch1: skip_failing_testcases.patch # PATCH-FIX-UPSTREAM fix-python312-tests.patch gh#ethanfurman/aenum#36 Patch2: fix-python312-tests.patch +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -67,10 +69,10 @@ duplicate values. %autosetup -p1 -n aenum-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -81,6 +83,6 @@ export LANG=en_US.UTF-8 %doc README.md aenum/CHANGES aenum/doc/* %license aenum/LICENSE %{python_sitelib}/aenum -%{python_sitelib}/aenum-%{version}*-info +%{python_sitelib}/aenum-%{version}.dist-info %changelog