diff --git a/python-cx_Freeze.spec b/python-cx_Freeze.spec index 1bfc27a..b6084a7 100644 --- a/python-cx_Freeze.spec +++ b/python-cx_Freeze.spec @@ -1,7 +1,7 @@ # # spec file for package python-cx_Freeze # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -86,7 +86,8 @@ export CFLAGS="%{optflags}" %check # bdist_rpm is not long for this world, and it always execs the default Python -%pytest_arch -k 'not (test_command_bdist_rpm or test_command_build_exe or test_command_build or test_bdist_appimage)' +# test_bdist_deb_simple_pyproject runs the binary, which is currently complicated with libalternatives: https://github.com/openSUSE/python-rpm-macros/pull/196 +%pytest_arch -k 'not (test_command_bdist_rpm or test_command_build_exe or test_command_build or test_bdist_appimage or test_bdist_deb_simple_pyproject)' %pre %python_libalternatives_reset_alternative cxfreeze-quickstart