diff --git a/WSGIProxy2-0.4.6.tar.gz b/WSGIProxy2-0.4.6.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..cc965fcd2d0778898b2f941571ba23998831ae98 Binary files /dev/null and b/WSGIProxy2-0.4.6.tar.gz differ diff --git a/python-WSGIProxy2.spec b/python-WSGIProxy2.spec new file mode 100644 index 0000000000000000000000000000000000000000..d17d50b6cacff54c7d98197b2c63f43be5bd3152 --- /dev/null +++ b/python-WSGIProxy2.spec @@ -0,0 +1,60 @@ +%define anolis_release 1 +%global pypi_name WSGIProxy2 +%global package_name wsgiproxy + +Name: python-%{pypi_name} +Version: 0.4.6 +Release: %{anolis_release}%{?dist} +Summary: WSGI Proxy that supports several HTTP backends + +License: MIT +URL: https://github.com/gawel/WSGIProxy2/ +Source0: https://pypi.python.org/packages/source/W/%{pypi_name}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +%global _description\ +WSGI Proxy that supports several HTTP backends. + +%description %_description + +%package -n python3-%{pypi_name} +Summary: WSGI Proxy that supports several HTTP backends +BuildRequires: python3-devel +BuildRequires: python3-setuptools +Requires: python3-webob +Requires: python3-six +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} %_description + +Python 3 version. + +%package -n python3-%{pypi_name}-doc +Summary: doc files for python3-%{pypi_name} +Requires: python3-%{pypi_name} = %{version}-%{release} +BuildArch: noarch + +%description -n python3-%{pypi_name}-doc +doc files for python3-%{pypi_name} + +%prep +%setup -q -n %{pypi_name}-%{version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pypi_name}-doc +%doc README_fixt.py README.rst + +%files -n python3-%{pypi_name} +%{python3_sitelib}/%{package_name}/ +%{python3_sitelib}/%{pypi_name}-*.egg-info/ + +%changelog +* Fri Apr 17 2026 Yuki Zhu - 0.4.6-1 +- Init Package from upstream