diff --git a/python-bump2version.spec b/python-bump2version.spec index cc143fff204d790dfa28b2989a7a2795a23dd948..0be79bd92cffac34f83d41549e5f3ce6f875caaf 100644 --- a/python-bump2version.spec +++ b/python-bump2version.spec @@ -4,7 +4,7 @@ Name: python-%{pypi_name} Version: %{pypi_version} -Release: 1 +Release: 2 Summary: Version-bump your software with a single command! License: MIT @@ -17,6 +17,9 @@ BuildRequires: python3-setuptools BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-hatchling +BuildRequires: python3-pytest +BuildRequires: python3-testfixtures +BuildRequires: python3-tox %description A small command line tool to simplify releasing software by updating all version strings in your source code by the correct increment. @@ -57,6 +60,10 @@ fi popd mv %{buildroot}/doclist.lst . +%check +%pytest + + %files -n python3-%{pypi_name} %license LICENSE.rst %doc README.md @@ -69,5 +76,8 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Thu Sep 14 2023 luolu12 - 1.0.1-2 +- Add check to pytest. + * Fri Aug 18 2023 luolu12 - 1.0.1-1 - Initial package.