From ab88aa9cd5f8b96a798ee27f0ac1040fdb8935a71c9dafb0bebd80f6096be45b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 17 May 2021 08:06:02 +0000 Subject: [PATCH] Accepting request 893553 from home:pgajdos:python - use %pytest macro OBS-URL: https://build.opensuse.org/request/show/893553 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-altgraph?expand=0&rev=15 --- python-altgraph.changes | 5 +++++ python-altgraph.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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