From ad5ce02525421074e2f7f2d1e746401eab65cbaa Mon Sep 17 00:00:00 2001 From: li-miaomiao_zhr Date: Wed, 6 Sep 2023 17:53:13 +0800 Subject: [PATCH] start self-test of software package --- python-nest_asyncio.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/python-nest_asyncio.spec b/python-nest_asyncio.spec index e06e838..ff260cb 100644 --- a/python-nest_asyncio.spec +++ b/python-nest_asyncio.spec @@ -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 - 1.5.7-2 +- Start self-test of software package + * Tue Aug 1 2023 li-miaomiao_zhr - 1.5.7-1 - package init