Add python2 subpackage for python-webtest build
This commit is contained in:
parent
772a7c035c
commit
00649d9fd9
@ -1,6 +1,6 @@
|
||||
Name: python-WSGIProxy2
|
||||
Version: 0.4.6
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: WSGI Proxy that supports several HTTP backends
|
||||
License: MIT
|
||||
URL: https://github.com/gawel/WSGIProxy2/
|
||||
@ -19,21 +19,40 @@ Requires: python3-webob, python3-six
|
||||
%description -n python3-WSGIProxy2
|
||||
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
|
||||
|
||||
%prep
|
||||
%autosetup -n WSGIProxy2-%{version} -p1
|
||||
rm -rf WSGIProxy2.egg-info
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py2_install
|
||||
%py3_install
|
||||
|
||||
%files -n python3-WSGIProxy2
|
||||
%doc README_fixt.py README.rst
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%files -n python2-WSGIProxy2
|
||||
%doc README_fixt.py README.rst
|
||||
%{python2_sitelib}/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Oct 13 2023 wangkai <13474090681@163.com> - 0.4.6-3
|
||||
- Add python2 subpackage for python-webtest build
|
||||
|
||||
* Fri Oct 30 2020 yanglongkang <yanglongkang@huawei.com> - 0.4.6-2
|
||||
- remove python2 dependency
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user