remove python2 dependency

This commit is contained in:
19909236985 2020-10-30 14:41:11 +08:00
parent 89163069ed
commit d35d04d842

View File

@ -1,6 +1,6 @@
Name: python-WSGIProxy2
Version: 0.4.6
Release: 1
Release: 2
Summary: WSGI Proxy that supports several HTTP backends
License: MIT
URL: https://github.com/gawel/WSGIProxy2/
@ -10,15 +10,6 @@ BuildArch: noarch
%description
WSGI Proxy that supports several HTTP backends.
%package -n python2-WSGIProxy2
%{?python_provide:%python_provide python2-WSGIProxy2}
Summary: WSGI Proxy that supports several HTTP backends
BuildRequires: python2-devel, python2-setuptools
Requires: python2-webob, python2-six
%description -n python2-WSGIProxy2
WSGI Proxy that supports several HTTP backends.
%package -n python3-WSGIProxy2
%{?python_provide:%python_provide python3-WSGIProxy2}
Summary: WSGI Proxy that supports several HTTP backends
@ -33,22 +24,19 @@ WSGI Proxy that supports several HTTP backends.
rm -rf WSGIProxy2.egg-info
%build
%py2_build
%py3_build
%install
%py2_install
%py3_install
%files -n python2-WSGIProxy2
%doc README_fixt.py README.rst
%{python2_sitelib}/*
%files -n python3-WSGIProxy2
%doc README_fixt.py README.rst
%{python3_sitelib}/*
%changelog
* Fri Oct 30 2020 yanglongkang <yanglongkang@huawei.com> - 0.4.6-2
- remove python2 dependency
* Thu Jul 16 2020 jixinjie <jixinjie@huawei.com> - 0.4.6-1
- update package to 0.4.6