From 314f65402692faf218b26faa06773f5ede55cd1613fdf2111617044ce5adb27c Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 8 May 2021 20:44:43 +0000 Subject: [PATCH] Accepting request 891406 from home:bnavigator:branches:devel:languages:python - Fix numpy test BuildRequires for flavors beyond python38 OBS-URL: https://build.opensuse.org/request/show/891406 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Wand?expand=0&rev=4 --- python-Wand.changes | 5 +++++ python-Wand.spec | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/python-Wand.changes b/python-Wand.changes index 934ae6c..a709761 100644 --- a/python-Wand.changes +++ b/python-Wand.changes @@ -4,6 +4,11 @@ Sat May 8 20:30:37 UTC 2021 - Matej Cepl - Skip tests using fftw library, we don't have the support built in ImageMagick (see gh#emcconville/wand#476). +------------------------------------------------------------------- +Fri May 7 23:47:46 UTC 2021 - Benjamin Greiner + +- Fix numpy test BuildRequires for flavors beyond python38 + ------------------------------------------------------------------- Mon Mar 1 01:50:31 UTC 2021 - John Vandenberg diff --git a/python-Wand.spec b/python-Wand.spec index 6feb3a7..3160fb6 100644 --- a/python-Wand.spec +++ b/python-Wand.spec @@ -35,8 +35,7 @@ BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module psutil >= 1.0.1} BuildRequires: %{python_module pytest >= 2.3.0} -BuildRequires: (python3-numpy if python3-base < 3.8) -BuildRequires: (python38-numpy if python38-base) +BuildRequires: %{python_module numpy if (%python-base without python36-base)} # /SECTION %python_subpackages