diff --git a/python-wsgi_intercept.changes b/python-wsgi_intercept.changes index 2d2c549..f14534d 100644 --- a/python-wsgi_intercept.changes +++ b/python-wsgi_intercept.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri May 24 13:45:03 UTC 2019 - Tomáš Chvátal + +- Update to 1.8.1: + * Fixes issues with latest urllib + ------------------------------------------------------------------- Thu Mar 21 05:51:06 UTC 2019 - Thomas Bechtold diff --git a/python-wsgi_intercept.spec b/python-wsgi_intercept.spec index 1c2c8ee..5c83ffd 100644 --- a/python-wsgi_intercept.spec +++ b/python-wsgi_intercept.spec @@ -18,31 +18,29 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-wsgi_intercept -Version: 1.8.0 +Version: 1.8.1 Release: 0 Summary: Installs a WSGI application in place of a real URI for testing License: MIT Group: Development/Languages/Python -Url: https://github.com/cdent/python3-wsgi-intercept -Source: https://pypi.io/packages/source/w/wsgi_intercept/wsgi_intercept-%{version}.tar.gz -BuildRequires: %{python_module setuptools} -BuildRequires: python-rpm-macros -# Test requirements: +URL: https://github.com/cdent/python3-wsgi-intercept +Source: https://files.pythonhosted.org/packages/source/w/wsgi_intercept/wsgi_intercept-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module httplib2} BuildRequires: %{python_module pytest >= 2.4} BuildRequires: %{python_module requests >= 2.0.1} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: %{python_module urllib3 >= 1.11.0} BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-six +BuildArch: noarch %if 0%{?_no_weakdeps} Requires: python-requests >= 2.0.1 %else Recommends: python-requests >= 2.0.1 %endif -BuildArch: noarch - %python_subpackages %description @@ -54,9 +52,6 @@ can avoid spawning multiple processes or threads to test your Web app. %prep %setup -q -n wsgi_intercept-%{version} -%if 0%{?suse_version} == 1230 -%patch0 -p1 -%endif %build %python_build @@ -68,7 +63,7 @@ rm -r %{buildroot}%{python_sitelib}/wsgi_intercept/tests %check export WSGI_INTERCEPT_SKIP_NETWORK=true -%python_exec -m pytest --ignore _build.python2 --ignore _build.python3 +%pytest %files %{python_files} %{python_sitelib}/wsgi_intercept-%{version}-py%{py_ver}.egg-info diff --git a/wsgi_intercept-1.8.0.tar.gz b/wsgi_intercept-1.8.0.tar.gz deleted file mode 100644 index 5e91713..0000000 --- a/wsgi_intercept-1.8.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1a0a91e0da8ea71cbc3cf3fb81dfdc0012958136e2407c94906c8139bb24cc86 -size 26919 diff --git a/wsgi_intercept-1.8.1.tar.gz b/wsgi_intercept-1.8.1.tar.gz new file mode 100644 index 0000000..0611768 --- /dev/null +++ b/wsgi_intercept-1.8.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:34de19ef24e1dbc496eec281b84aa87ef79035af82bb2792a47ec98deb2c4d4f +size 28248