From e7b477c3bef0c74fa1d04b54d6b775a21d525e67 Mon Sep 17 00:00:00 2001 From: li-miaomiao_zhr Date: Wed, 30 Aug 2023 15:21:52 +0800 Subject: [PATCH] Start self-test of software package --- python-uc-micro-py.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/python-uc-micro-py.spec b/python-uc-micro-py.spec index 2d1f2e3..8eb82b0 100644 --- a/python-uc-micro-py.spec +++ b/python-uc-micro-py.spec @@ -7,7 +7,7 @@ a Python port of uc.micro (https://github.com/markdown-it/uc.micro).} Name: python-%{pypi_name} Version: 1.0.2 -Release: 1 +Release: 2 Summary: Micro subset of Unicode data files for linkify-it.py projects License: MIT URL: https://github.com/tsutsu3/uc.micro-py @@ -20,6 +20,11 @@ BuildRequires: python3-wheel BuildRequires: python3-setuptools BuildRequires: python3-setuptools_scm +# for test +BuildRequires: python3-pytest +BuildRequires: python3-pytest-cov +BuildRequires: python3-coverage + %description %_description %package -n python3-%{pypi_name} @@ -37,6 +42,9 @@ Summary: Micro subset of Unicode data files for linkify-it.py projects %install %pyproject_install +%check +%pytest + %files -n python3-%{pypi_name} %license LICENSE %doc README.md @@ -44,5 +52,8 @@ Summary: Micro subset of Unicode data files for linkify-it.py projects %{python3_sitelib}/uc_micro_py-*.dist-info/ %changelog +* Wed Aug 30 2023 li-miaomiao_zhr - 1.0.2-2 +- Start self-test of software package + * Thu Aug 17 2023 li-miaomiao_zhr - 1.0.2-1 - Package init -- Gitee