From a00c1c3053df74df41ee72ce4437f5742d27326bf8d4827b02d62242182a0779 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 4 Mar 2024 22:09:53 +0000 Subject: [PATCH] - Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-benchmark?expand=0&rev=30 --- python-pytest-benchmark.changes | 5 +++++ python-pytest-benchmark.spec | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/python-pytest-benchmark.changes b/python-pytest-benchmark.changes index 3947491..5be7231 100644 --- a/python-pytest-benchmark.changes +++ b/python-pytest-benchmark.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Mar 4 22:09:46 UTC 2024 - Matej Cepl + +- Clean up the SPEC file + ------------------------------------------------------------------- Fri Apr 21 12:31:29 UTC 2023 - Dirk Müller diff --git a/python-pytest-benchmark.spec b/python-pytest-benchmark.spec index f3af90c..946d864 100644 --- a/python-pytest-benchmark.spec +++ b/python-pytest-benchmark.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-benchmark # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -34,18 +34,20 @@ Patch2: ignore-deprecationwarning.patch BuildRequires: %{python_module aspectlib} BuildRequires: %{python_module elasticsearch} BuildRequires: %{python_module freezegun} +BuildRequires: %{python_module pip} BuildRequires: %{python_module py-cpuinfo} BuildRequires: %{python_module pygaljs} BuildRequires: %{python_module pygal} BuildRequires: %{python_module pytest >= 3.8} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: git-core BuildRequires: python-rpm-macros Requires: python-py-cpuinfo Requires: python-pytest >= 3.8 Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives Recommends: python-aspectlib Recommends: python-elasticsearch Recommends: python-pygal @@ -65,10 +67,10 @@ rm -f tests/test_cli.py sed -i -e '/test_fast PASSED/d' -e '/test_fast SKIPPED/d' tests/test_benchmark.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/pytest-benchmark