From 9885f81bbe5f601219d4cbd635b154af94905e04f61355df9b5e419858b1d632 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 4 May 2023 19:12:13 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=229 --- python-SQLAlchemy.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python-SQLAlchemy.spec b/python-SQLAlchemy.spec index 81c04dc..acc1122 100644 --- a/python-SQLAlchemy.spec +++ b/python-SQLAlchemy.spec @@ -85,7 +85,9 @@ export CFLAGS="%{optflags} -fno-strict-aliasing" %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -%pytest_arch %{?jobs:-n %jobs} -k 'not (test_parseconnect and CreateEngineTest and test_bad_args)' +jobs=1 +test "%{jobs}" -gt 4 && jobs=4 +%pytest_arch -n $jobs -k 'not (test_parseconnect and CreateEngineTest and test_bad_args)' %files %{python_files} %license LICENSE