From 5d77eb4abfaf4ab47cb36ad04741d3d1d5baf361 Mon Sep 17 00:00:00 2001 From: Luis Bazan Date: Jun 20 2019 19:15:06 +0000 Subject: test need download data of internet --- diff --git a/python-neurosynth.spec b/python-neurosynth.spec index ace32ec..51f6b3c 100644 --- a/python-neurosynth.spec +++ b/python-neurosynth.spec @@ -1,8 +1,12 @@ %global pypi_name neurosynth +# The test require internet to download data and so cannot be run in koji +# Test disable +%bcond_with tests + Name: python-%{pypi_name} Version: 0.3.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Large-scale synthesis of functional neuroimaging data License: MIT @@ -65,7 +69,9 @@ chmod 0644 neurosynth/tests/data/sgacc_mask.nii.gz %py3_install %check +%if %{with tests} %{__python3} setup.py test +%endif %files -n python3-%{pypi_name} %license LICENSE @@ -74,5 +80,8 @@ chmod 0644 neurosynth/tests/data/sgacc_mask.nii.gz %{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info %changelog +* Thu Jun 20 2019 Luis Bazan - 0.3.7-2 +- Test need download data + * Fri Jun 14 2019 Luis Bazan - 0.3.7-1 - Initial package.