diff --git a/python-pytest-tldr.changes b/python-pytest-tldr.changes index eef7ded..0f30e6f 100644 --- a/python-pytest-tldr.changes +++ b/python-pytest-tldr.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 7 06:59:51 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Wed Nov 30 11:56:24 UTC 2022 - Daniel Garcia diff --git a/python-pytest-tldr.spec b/python-pytest-tldr.spec index de36940..e994b2e 100644 --- a/python-pytest-tldr.spec +++ b/python-pytest-tldr.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-tldr # -# Copyright (c) 2022 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 @@ -21,12 +21,13 @@ Version: 0.2.5 Release: 0 Summary: A pytest plugin that limits the output to just the things you need License: BSD-3-Clause -Group: Development/Languages/Python URL: https://github.com/freakboy3742/pytest-tldr Source: https://files.pythonhosted.org/packages/source/p/pytest-tldr/pytest-tldr-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest >= 3.5.0} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-pytest >= 3.5.0 @@ -40,10 +41,10 @@ A pytest plugin that limits the output to just the things you need. %setup -q -n pytest-tldr-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -54,6 +55,6 @@ A pytest plugin that limits the output to just the things you need. %license LICENSE %pycache_only %{python_sitelib}/__pycache__/*.pyc %{python_sitelib}/pytest_tldr.py -%{python_sitelib}/pytest_tldr-%{version}*-info +%{python_sitelib}/pytest_tldr-%{version}.dist-info %changelog