1
0

Compare commits

2 Commits

2 changed files with 11 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 28 12:51:11 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
- phase out %jobs macro (boo#1237231)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 7 19:46:14 UTC 2023 - Dirk Müller <dmueller@suse.com> Tue Nov 7 19:46:14 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -19,6 +19,11 @@
%bcond_with extras %bcond_with extras
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
%if 0%{suse_version} < 1600
%define pytestjobs %{?jobs: -n %jobs}
%else
%define pytestjobs -n ${RPM_BUILD_NCPUS:-1}
%endif
Name: python-pytest-localserver Name: python-pytest-localserver
Version: 0.8.1 Version: 0.8.1
Release: 0 Release: 0
@@ -71,7 +76,7 @@ sed -i "1d" pytest_localserver/{plugin,smtp}.py
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
%pytest %{?jobs: -n %jobs} %pytest %{?pytestjobs}
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst