]> git.pld-linux.org Git - projects/template-specs.git/blobdiff - python3-ext.spec
- update systemd scriptlets to use upstream macros and add user units
[projects/template-specs.git] / python3-ext.spec
index 37edac290dd7fd91bb34391d17d1b3003a513212..5dfef95513bf42bcc4eec2f257e23cfc8d86c68f 100644 (file)
@@ -6,7 +6,7 @@
 %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)
@@ -66,6 +66,9 @@ Dokumentacja API moduĊ‚u Pythona %{module}.
 # 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
 
This page took 0.08285 seconds and 4 git commands to generate.