From ab6fef6923ae9cfdac4c7f4c6a7f3e442ba36d32cb5dda4dc24df9a60f7e05e1 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 16 Sep 2021 21:02:25 +0000 Subject: [PATCH] - Switch off tests on i586 (gh#pygame/pygame#2721) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=32 --- python-pygame.changes | 5 +++++ python-pygame.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/python-pygame.changes b/python-pygame.changes index c3b2fad..25253b0 100644 --- a/python-pygame.changes +++ b/python-pygame.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Sep 16 21:02:06 UTC 2021 - Matej Cepl + +- Switch off tests on i586 (gh#pygame/pygame#2721) + ------------------------------------------------------------------- Tue Apr 27 11:22:12 UTC 2021 - Ben Greiner diff --git a/python-pygame.spec b/python-pygame.spec index 39dad37..2b27a06 100644 --- a/python-pygame.spec +++ b/python-pygame.spec @@ -122,12 +122,14 @@ rm %{buildroot}%{_docdir}/%{name}-doc/examples/.editorconfig %fdupes %{buildroot}%{_docdir}/%{name}-doc/ %check +%ifnarch %{ix86} export SDL_VIDEODRIVER=dummy export SDL_AUDIODRIVER=disk export LANG=en_US.UTF-8 %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m pygame.tests.__main__ -v --exclude opengl --time_out 300 } +%endif %files %{python_files} %doc README.rst