From 7f53b9516f13eea7b6c047a61419d8bc86c920f2 Mon Sep 17 00:00:00 2001 From: li-miaomiao_zhr Date: Thu, 31 Aug 2023 17:34:29 +0800 Subject: [PATCH] start self-test of software package --- python-pytest-datadir.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/python-pytest-datadir.spec b/python-pytest-datadir.spec index 1af8496..816c877 100644 --- a/python-pytest-datadir.spec +++ b/python-pytest-datadir.spec @@ -7,7 +7,7 @@ directories and files.} Name: python-%{pypi_name} Version: 1.4.1 -Release: 1 +Release: 2 Summary: Pytest plugin for test data directories and files License: MIT URL: https://github.com/gabrielcnr/pytest-datadir @@ -20,6 +20,9 @@ BuildRequires: python3-wheel BuildRequires: python3-setuptools BuildRequires: python3-setuptools_scm +# for test +BuildRequires: python3-pytest + %description %_description %package -n python3-%{pypi_name} @@ -37,6 +40,9 @@ Summary: Pytest plugin for test data directories and files %install %py3_install +%check +%pytest + %files -n python3-%{pypi_name} %license LICENSE %doc README.md @@ -44,5 +50,8 @@ Summary: Pytest plugin for test data directories and files %{python3_sitelib}/pytest_datadir-*.egg-info/ %changelog +* Thu Aug 31 2023 li-miaomiao_zhr - 1.4.1-2 +- Start self-test of software package + * Fri Aug 18 2023 li-miaomiao_zhr - 1.4.1-1 - Package init