- Add ExclusiveArch x86_64 and aarch64 (unfortunately the code

itself checks for the architecture, so we cannot go with
  ExcludeArch)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-codspeed?expand=0&rev=5
This commit is contained in:
2025-01-30 08:34:46 +00:00
committed by Git OBS Bridge
parent 045cdf0d1d
commit f83c7bc757
2 changed files with 5 additions and 0 deletions

View File

@@ -2,6 +2,9 @@
Thu Jan 30 06:27:34 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Make tests work (and also add the patch make_tests_work.patch)
- Add ExclusiveArch x86_64 and aarch64 (unfortunately the code
itself checks for the architecture, so we cannot go with
ExcludeArch)
-------------------------------------------------------------------
Thu Jan 16 18:48:11 UTC 2025 - marec <marec@detebe.org>

View File

@@ -31,6 +31,7 @@ Release: 0
Summary: A pytest plugin to create CodSpeed benchmarks
License: MIT
URL: https://github.com/CodSpeedHQ/pytest-codspeed
ExclusiveArch: x86_64 aarch64
Source: https://files.pythonhosted.org/packages/source/p/pytest_codspeed/pytest_codspeed-%{version}.tar.gz
# PATCH-{FIX|FEATURE}-{OPENSUSE|SLE|UPSTREAM} name-of-file.patch bsc#[0-9]+ mcepl@suse.com
# this patch makes things totally awesome
@@ -74,6 +75,7 @@ export PYTEST_CODSPEED_FORCE_EXTENSION_BUILD=1
%check
%if %{with test}
export PYTEST_CODSPEED_FORCE_VALGRIND_TESTS=1
%pytest
%endif