From a5155b3222110b3de74838af4466afc0a269facd Mon Sep 17 00:00:00 2001 From: li-miaomiao_zhr Date: Tue, 5 Sep 2023 17:29:03 +0800 Subject: [PATCH] start self-test of software package --- python-anyascii.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/python-anyascii.spec b/python-anyascii.spec index d067f28..f3899b5 100644 --- a/python-anyascii.spec +++ b/python-anyascii.spec @@ -2,7 +2,7 @@ Name: python-%{pypi_name} Version: 0.3.2 -Release: 1 +Release: 2 Summary: Unicode to ASCII transliteration. License: MIT @@ -24,6 +24,10 @@ BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-flit +# for test +BuildRequires: python3-pytest +BuildRequires: python3-anyascii + %description -n python3-%{pypi_name} AnyAscii provides ASCII-only replacement strings for practically all Unicode characters. Text is converted character-by-character without considering the context. @@ -36,6 +40,9 @@ AnyAscii provides ASCII-only replacement strings for practically all Unicode cha %install %pyproject_install +%check +%pytest + %files -n python3-%{pypi_name} %license LICENSE %doc README.md @@ -43,5 +50,8 @@ AnyAscii provides ASCII-only replacement strings for practically all Unicode cha %{python3_sitelib}/anyascii/ %changelog +* Tue Sep 5 2023 li-miaomiao_zhr - 0.3.2-2 +- Start self-test of software package + * Mon Aug 21 2023 mengzhaoa - 0.3.2-1 - Init package python-anyascii.