From f566f787ff415eafd77a6d5833e0967530532297 Mon Sep 17 00:00:00 2001 From: luolu12 Date: Wed, 30 Aug 2023 17:27:34 +0800 Subject: [PATCH] Add check to pytest --- python-mkdocs.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/python-mkdocs.spec b/python-mkdocs.spec index 6250258..f050a48 100644 --- a/python-mkdocs.spec +++ b/python-mkdocs.spec @@ -1,9 +1,8 @@ %global pypi_name mkdocs - Name: python-%{pypi_name} Version: 1.5.2 -Release: 1 +Release: 2 Summary: Project documentation with Markdown License: BSD @@ -20,6 +19,8 @@ BuildRequires: python3-editables BuildRequires: python3-hatch-vcs BuildRequires: python3-hatchling BuildRequires: python3-babel +BuildRequires: python3-pytest +#BuildRequires: python3-tox %description MkDocs is a fast and simple way to create a website from source files written @@ -72,6 +73,9 @@ fi popd mv %{buildroot}/doclist.lst . +%check +%pytest + %files -n python3-%{pypi_name} %license LICENSE %doc README.md @@ -82,6 +86,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Wed Aug 30 2023 luolu12 - 1.5.2-2 +- Add check to pytest. + * Fri Aug 25 2023 luolu12 - 1.5.2-1 - update package of version 1.5.2. -- Gitee