forked from pool/python-wsgi_intercept
- Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wsgi_intercept?expand=0&rev=50
This commit is contained in:
committed by
Git OBS Bridge
parent
7a9cabffb5
commit
e78b3bb362
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Mar 14 08:33:34 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Fix build without python2
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 6 12:42:53 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
Thu Feb 6 12:42:53 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
@@ -34,12 +34,8 @@ BuildRequires: %{python_module urllib3 >= 1.11.0}
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
BuildArch: noarch
|
|
||||||
%if 0%{?_no_weakdeps}
|
|
||||||
Requires: python-requests >= 2.0.1
|
|
||||||
%else
|
|
||||||
Recommends: python-requests >= 2.0.1
|
Recommends: python-requests >= 2.0.1
|
||||||
%endif
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -57,7 +53,7 @@ can avoid spawning multiple processes or threads to test your Web app.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
rm -r %{buildroot}%{python_sitelib}/wsgi_intercept/tests
|
%python_expand rm -r %{buildroot}%{$python_sitelib}/wsgi_intercept/tests
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -65,7 +61,9 @@ export WSGI_INTERCEPT_SKIP_NETWORK=true
|
|||||||
%pytest
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%{python_sitelib}/wsgi_intercept-%{version}-py%{py_ver}.egg-info
|
%doc README
|
||||||
|
%license LICENSE
|
||||||
|
%{python_sitelib}/wsgi_intercept-%{version}-*.egg-info
|
||||||
%{python_sitelib}/wsgi_intercept
|
%{python_sitelib}/wsgi_intercept
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user