Dirk Mueller 2019-04-25 20:03:40 +00:00 committed by Git OBS Bridge
parent 7838fbfd74
commit c0c12b1629

View File

@ -30,6 +30,7 @@ BuildRequires: %{python_module setuptools}
# SECTION test requirements
BuildRequires: %{python_module betamax}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pyOpenSSL}
BuildRequires: %{python_module pytest}
# /SECTION
BuildRequires: fdupes
@ -57,11 +58,13 @@ rm -rf requests_toolbelt.egg-info
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%check
# requires network access
rm -v tests/test_multipart_encoder.py
%python_exec setup.py test
%files %{python_files}
%defattr(-,root,root,-)
%doc AUTHORS.rst HISTORY.rst LICENSE README.rst
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%changelog