diff --git a/python-Automat.spec b/python-Automat.spec index 517109770885e8f2438c53de680a70a1c4b9f892..3c94f269e73c257f803ba67e76e76bcb66cd363c 100644 --- a/python-Automat.spec +++ b/python-Automat.spec @@ -6,14 +6,14 @@ Summary: Self-service finite-state machines for the programmer on the go Name: python-%{srcname} Version: 22.10.0 -Release: 4%{?dist} +Release: 5%{?dist} License: MIT URL: https://github.com/glyph/automat Source0: %pypi_source Patch0001: backport-remove-dot-from-py.test.patch -BuildRequires: python3-devel +BuildRequires: python3-devel python3-pytest %if %{with docs} BuildRequires: python3dist(sphinx-rtd-theme) %endif @@ -45,7 +45,7 @@ Documentation for Automat sed -i "s|'m2r',||g" setup.py > test.py %generate_buildrequires -%pyproject_buildrequires -t +%pyproject_buildrequires %build %pyproject_wheel @@ -60,7 +60,7 @@ rm -rf html/.{doctrees,buildinfo} %pyproject_save_files %{libname} %check -%tox +%pytest -k "not test_simple_machine_transitions" %files -n python3-%{srcname} -f %{pyproject_files} %{_bindir}/automat-visualize @@ -72,6 +72,9 @@ rm -rf html/.{doctrees,buildinfo} %endif %changelog +* Sun Sep 29 2024 Shuo Wang - 22.10.0-5 +- switch test from tox to pytest + * Thu Sep 26 2024 OpenCloudOS Release Engineering - 22.10.0-4 - Rebuilt for clarifying the packages requirement in BaseOS and AppStream