From 838a983e77880da75a9e55b49c65bbf075b79333 Mon Sep 17 00:00:00 2001 From: Sandro Date: Feb 21 2024 12:29:35 +0000 Subject: Use human friendly bcond - Run import test (once that is fixed) --- diff --git a/python-xnat.spec b/python-xnat.spec index d293097..3723974 100644 --- a/python-xnat.spec +++ b/python-xnat.spec @@ -1,6 +1,6 @@ # Require network, so run locally in mock with --with=tests --enable-network # All tests pass -%bcond_with tests +%bcond tests 0 # Use forge macros for pulling from GitLab %global forgeurl https://gitlab.com/radiology/infrastructure/xnatpy @@ -80,7 +80,11 @@ done %check %if %{with tests} -%{pytest} +%{pytest} -v +%else +# Import test currently fails +# https://gitlab.com/radiology/infrastructure/xnatpy/-/issues/57 +#%%pyproject_check_import %endif %files -n python3-xnat -f %{pyproject_files}