Compare commits

..

No commits in common. "3bf87d5a351aaa9d0066f0347d7730bdb8be866d" and "7f11ebed3eba49c4bee08089feb3c16f9b7d8a57" have entirely different histories.

3 changed files with 11 additions and 26 deletions

BIN
asgiref-3.4.0.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,13 +1,12 @@
%global _empty_manifest_terminate_build 0
Name: python-asgiref
Version: 3.8.1
Release: 1
Version: 3.4.0
Release: 2
Summary: ASGI specs, helper code, and adapters
License: BSD-3-Clause
URL: https://github.com/django/asgiref/
Source0: https://github.com/django/asgired/archive/refs/tags/%{release}.tar.gz#/asgiref-%{version}.tar.gz
Source0: https://files.pythonhosted.org/packages/c0/9d/b1c128ed26b8c01c27e5c393c558e9c2a6716dfbdb59f97ba14960fbde76/asgiref-3.4.0.tar.gz
BuildArch: noarch
%description
ASGI is a standard for Python asynchronous web apps and servers to communicate
with each other, and positioned as an asynchronous successor to WSGI. You can
@ -17,7 +16,7 @@ asgiref.server A WSGI-to-ASGI adapter, in asgiref.
%package -n python3-asgiref
Summary: ASGI specs, helper code, and adapters
Provides: python-asgiref = %{version}-%{release}
Provides: python-asgiref
# Base build requires
BuildRequires: python3-devel
BuildRequires: python3-setuptools
@ -42,13 +41,14 @@ async-to-sync function wrappers, asgiref.sync Server base classes,
asgiref.server A WSGI-to-ASGI adapter, in asgiref.
%prep
%autosetup -n asgiref-%{version}
%autosetup -n asgiref-3.4.0
%build
%py3_build
%install
%py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
@ -75,30 +75,15 @@ popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python3-asgiref -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Sun Apr 07 2024 GuoCe <guoce@kylinso.cn> - 3.8.1-1
- Update package to version 3.8.1
- Corrects WSGI adapter handling of root path.
- Handles case where `"client"` is ``None`` in WsgiToAsgi adapter.
* Sun Jun 25 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 3.7.2-1
- Update package to version 3.7.2
* Tue Feb 21 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 3.6.0-1
- Update package to version 3.6.0
* Mon May 30 2022 houyingchao <houyingchao@h-partners.com> - 3.5.2-1
- Upgrade to 3.5.2
* Wed May 18 2022 xigaoxinyan <xigaoxinyan@h-partners.com> - 3.4.1-1
- Update to 3.4.1
* Tue May 10 2022 houyingchao <houyingchao@h-partners.com> - 3.4.0-2
- License compliance rectification