From 6ae49ccc85095fac3546d21c3d6a51ccf240a0f84ea0f5b113f457152d32fffd Mon Sep 17 00:00:00 2001 From: Daniel Garcia Moreno Date: Tue, 3 Mar 2026 13:39:11 +0100 Subject: [PATCH] Adapt %suse_version checks to support new %suse_version --- python-pytest-randomly.changes | 6 ++++++ python-pytest-randomly.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-pytest-randomly.changes b/python-pytest-randomly.changes index 962409b..3e8417e 100644 --- a/python-pytest-randomly.changes +++ b/python-pytest-randomly.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 3 12:37:43 UTC 2026 - Daniel Garcia + +- Adapt %suse_version checks to support new %suse_version design for + 16.1 and following (1610, 1620, 1630...) + ------------------------------------------------------------------- Mon Sep 29 20:52:21 UTC 2025 - Dirk Müller diff --git a/python-pytest-randomly.spec b/python-pytest-randomly.spec index dbc77f7..afec771 100644 --- a/python-pytest-randomly.spec +++ b/python-pytest-randomly.spec @@ -39,7 +39,7 @@ BuildRequires: %{python_module Faker >= 13.11.0} BuildRequires: %{python_module factory_boy} BuildRequires: %{python_module importlib-metadata >= 3.6.0} # Django package not available on SLFO:Main -%if 0%{suse_version} > 1600 +%if 0%{suse_version} >= 1699 BuildRequires: %{python_module model-bakery >= 1.13.0} %endif BuildRequires: %{python_module numpy} @@ -83,7 +83,7 @@ Features: skiptest="test_entrypoint_injection or test_it_runs_before_stepwise" # Django package not available on SLFO:Main -%if 0%{suse_version} <= 1600 +%if 0%{suse_version} < 1699 skiptest+=" or test_model_bakery" %endif