From e900642b443591db321bac1d3edcc0ce5b82f821 Mon Sep 17 00:00:00 2001 From: zoujiancang Date: Wed, 30 Aug 2023 15:39:53 +0800 Subject: [PATCH] Add check for the pkg --- python-pytest-flake8.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/python-pytest-flake8.spec b/python-pytest-flake8.spec index 31d286e..842c679 100644 --- a/python-pytest-flake8.spec +++ b/python-pytest-flake8.spec @@ -3,7 +3,7 @@ Name: python-%{pypi_name} Version: 1.1.1 -Release: 1 +Release: 2 Summary: Pytest plugin for efficiently checking PEP8 compliance. License: BSD License @@ -19,6 +19,10 @@ BuildRequires: python3-hatchling BuildRequires: python3-virtualenv BuildRequires: python3-poetry-core +#check requires +BuildRequires: python3-pytest +BuildRequires: python3-flake8 + %description Pytest plugin for efficiently checking PEP8 compliance. @@ -37,6 +41,9 @@ Pytest plugin for efficiently checking PEP8 compliance. %install %pyproject_install +%check +%pytest + %files -n python3-%{pypi_name} %doc README.rst %license LICENSE @@ -45,6 +52,9 @@ Pytest plugin for efficiently checking PEP8 compliance. %{python3_sitelib}/__pycache__ %changelog +* Wed Aug 30 2023 zoujiancang - 1.1.1-2 +- Add check for the pkg + * Thu Aug 24 2023 zoujiancang - 1.1.1-1 - Initial package -- Gitee