From 064486c44b37fcad4f0b4b7b3e990babd048eb2279193031dcd4b4eaaed49ab6 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 17 Jun 2025 04:20:17 +0000 Subject: [PATCH] - Switch to pyproject macros. - No more greedy globs in %files. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flufl.testing?expand=0&rev=5 --- python-flufl.testing.changes | 6 ++++++ python-flufl.testing.spec | 13 +++++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/python-flufl.testing.changes b/python-flufl.testing.changes index f6310b2..94894cd 100644 --- a/python-flufl.testing.changes +++ b/python-flufl.testing.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jun 17 04:15:03 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. +- No more greedy globs in %files. + ------------------------------------------------------------------- Sun Jun 18 16:07:35 UTC 2023 - Andreas Schneider diff --git a/python-flufl.testing.spec b/python-flufl.testing.spec index 9513eb3..c0967ed 100644 --- a/python-flufl.testing.spec +++ b/python-flufl.testing.spec @@ -1,7 +1,7 @@ # # spec file for package python-flufl.testing # -# Copyright (c) 2023 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 @@ -24,7 +24,9 @@ Summary: A small collection of test tool plugins License: Apache-2.0 URL: https://gitlab.com/warsaw/flufl.testing Source: https://files.pythonhosted.org/packages/source/f/flufl.testing/flufl.testing-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -37,10 +39,10 @@ A small collection of test tool plugins %setup -q -n flufl.testing-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -49,6 +51,9 @@ A small collection of test tool plugins %files %{python_files} %doc NEWS.rst README.rst %license LICENSE.txt -%{python_sitelib}/* +%dir %{python_sitelib}/flufl +%{python_sitelib}/flufl/testing +%{python_sitelib}/flufl[._]testing-%{version}.dist-info +%{python_sitelib}/flufl.testing-0.8-py*-nspkg.pth %changelog