Update package to version 3.6.0

This commit is contained in:
jxy_git 2023-02-21 14:56:46 +08:00
parent df090fa5a2
commit e5fcc3bc9a
3 changed files with 11 additions and 10 deletions

Binary file not shown.

BIN
asgiref-3.6.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,12 +1,13 @@
%global _empty_manifest_terminate_build 0
Name: python-asgiref
Version: 3.5.2
Version: 3.6.0
Release: 1
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/3.5.2.tar.gz
Source0: https://github.com/django/asgired/archive/refs/tags/%{release}.tar.gz#/asgiref-%{version}.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
@ -16,7 +17,7 @@ asgiref.server A WSGI-to-ASGI adapter, in asgiref.
%package -n python3-asgiref
Summary: ASGI specs, helper code, and adapters
Provides: python-asgiref
Provides: python-asgiref = %{version}-%{release}
# Base build requires
BuildRequires: python3-devel
BuildRequires: python3-setuptools
@ -41,14 +42,13 @@ async-to-sync function wrappers, asgiref.sync Server base classes,
asgiref.server A WSGI-to-ASGI adapter, in asgiref.
%prep
%autosetup -n asgiref-3.5.2
%autosetup -n asgiref-%{version}
%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,15 +75,16 @@ 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
* 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