From c0c12b16295f97023908e6d472f4fa60964e4d8c206e9240c90261d58b7f8e7b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 25 Apr 2019 20:03:40 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-toolbelt?expand=0&rev=13 --- python-requests-toolbelt.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-requests-toolbelt.spec b/python-requests-toolbelt.spec index 292f672..7b81da2 100644 --- a/python-requests-toolbelt.spec +++ b/python-requests-toolbelt.spec @@ -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