Add condition

epel9
Fabian Affolter 5 years ago
parent 016fb4db37
commit 4503ccc94b
No known key found for this signature in database
GPG Key ID: E23CD2DD36A4397F

@ -1,4 +1,5 @@
%global srcname msgpack
%bcond_with tests
Name: python-%{srcname}
Version: 1.0.0
@ -45,10 +46,12 @@ rm -rf test/test_timestamp.py
%install
%py3_install
%if %{with network}
%check
PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} -v test \
-k "not test_unicode and not test_read_array_header and not test_partialdata \
and not test_read_map_header and not test_issue124"
%endif
%files -n python%{python3_pkgversion}-%{srcname}
%doc README.md

Loading…
Cancel
Save