start self-test of software package

This commit is contained in:
li-miaomiao_zhr 2023-09-06 17:53:13 +08:00
parent d25b6936d3
commit ad5ce02525

View File

@ -14,7 +14,7 @@ and loop.run_until_complete.}
Name: python-%{pypi_name}
Version: 1.5.7
Release: 1
Release: 2
Summary: Patch asyncio to allow nested event loops
License: BSD
URL: https://github.com/erdewit/nest_asyncio
@ -27,6 +27,9 @@ BuildRequires: python3-wheel
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
# for test
BuildRequires: python3-pytest
%description %_description
%package -n python3-%{pypi_name}
@ -44,6 +47,9 @@ Summary: Patch asyncio to allow nested event loops
%install
%pyproject_install
%check
%pytest
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.rst
@ -52,5 +58,8 @@ Summary: Patch asyncio to allow nested event loops
%{python3_sitelib}/nest_asyncio.py
%changelog
* Wed Sep 6 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 1.5.7-2
- Start self-test of software package
* Tue Aug 1 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 1.5.7-1
- package init