%bcond_without doc # API documentation
%bcond_without tests # unit tests
-%define module template
+%define module template
Summary: -
Summary(pl.UTF-8): -
# Name must match the python module/package name (as on pypi or in 'import' statement)
# deprecated target, but sometimes still used: %{?with_tests:test}
%if %{with tests}
+# use explicit plugins list for reliable builds (delete PYTEST_PLUGINS if empty)
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTEST_PLUGINS= \
%{__python3} -m pytest ...
%endif