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