From 890e8ed84247638e5d9cd9dc8488092d526c2059 Mon Sep 17 00:00:00 2001 From: li-miaomiao_zhr Date: Wed, 30 Aug 2023 14:53:08 +0800 Subject: [PATCH] Start self-test software package --- python-linkify-it-py.spec | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/python-linkify-it-py.spec b/python-linkify-it-py.spec index 79b70ad..355046c 100644 --- a/python-linkify-it-py.spec +++ b/python-linkify-it-py.spec @@ -12,7 +12,7 @@ References: Name: python-%{pypi_name} Version: 2.0.2 -Release: 1 +Release: 2 Summary: Link recognition library with full Unicode support License: MIT URL: https://github.com/tsutsu3/linkify-it-py @@ -25,6 +25,12 @@ BuildRequires: python3-wheel BuildRequires: python3-setuptools BuildRequires: python3-setuptools_scm +# for test +BuildRequires: python3-pytest +BuildRequires: python3-uc-micro-py +BuildRequires: python3-pytest-cov +BuildRequires: python3-coverage + %description %_description %package -n python3-%{pypi_name} @@ -42,6 +48,9 @@ Summary: Link recognition library with full Unicode support %install %pyproject_install +%check +%pytest + %files -n python3-%{pypi_name} %license LICENSE %doc README.md @@ -50,5 +59,8 @@ Summary: Link recognition library with full Unicode support %{python3_sitelib}/linkify_it/ %changelog +* Wed Aug 30 2023 li-miaomiao_zhr - 2.0.2-2 +- Start self-test of software package + * Thu Aug 17 2023 li-miaomiao_zhr - 2.0.2-1 - Package init -- Gitee