diff --git a/python-altgraph.changes b/python-altgraph.changes index 49d8efa..9bbafc2 100644 --- a/python-altgraph.changes +++ b/python-altgraph.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 17 07:12:19 UTC 2021 - pgajdos@suse.com + +- use %pytest macro + ------------------------------------------------------------------- Fri Apr 17 11:15:05 UTC 2020 - Marketa Calabkova diff --git a/python-altgraph.spec b/python-altgraph.spec index d25caee..990dc6b 100644 --- a/python-altgraph.spec +++ b/python-altgraph.spec @@ -1,7 +1,7 @@ # # spec file for package python-altgraph # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,6 +24,7 @@ Summary: Python graph (network) package License: MIT URL: https://github.com/ronaldoussoren/altgraph/ Source: https://files.pythonhosted.org/packages/source/a/altgraph/altgraph-%{version}.tar.gz +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -57,7 +58,7 @@ sed -i 's/\r$//' doc/_build/html/_static/jquery.js %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%pytest %files %{python_files} %doc README.rst