python-WSGIProxy2/python-WSGIProxy2.spec
2020-02-17 16:53:59 +08:00

54 lines
1.4 KiB
RPMSpec

Name: python-WSGIProxy2
Version: 0.4.1
Release: 14
Summary: WSGI Proxy that supports several HTTP backends
License: MIT
URL: https://github.com/gawel/WSGIProxy2/
Source0: https://pypi.python.org/packages/source/W/WSGIProxy2/WSGIProxy2-%{version}.zip
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
BuildRequires: python3-devel, python3-setuptools
Requires: python3-webob, python3-six
%description -n python3-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 python2-WSGIProxy2
%doc README_fixt.py README.rst
%{python2_sitelib}/*
%files -n python3-WSGIProxy2
%doc README_fixt.py README.rst
%{python3_sitelib}/*
%changelog
* Mon Feb 17 2020 Ruijun Ge <geruijun@huawei.com> - 0.4.1-14
- init package