Start self-test of software package

This commit is contained in:
li-miaomiao_zhr 2023-08-30 15:21:52 +08:00
parent be7dffe41e
commit e7b477c3be

View File

@ -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 <mmlidc@isoftstone.com> - 1.0.2-2
- Start self-test of software package
* Thu Aug 17 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 1.0.2-1
- Package init