Accepting request 896333 from home:pgajdos:python

- %check: use %pytest rpm macro

OBS-URL: https://build.opensuse.org/request/show/896333
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-manuel?expand=0&rev=17
This commit is contained in:
Hans-Peter Jansen 2021-05-31 12:30:34 +00:00 committed by Git OBS Bridge
parent b950d5ee2a
commit ed68be5b1f
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon May 31 10:19:13 UTC 2021 - pgajdos@suse.com
- %check: use %pytest rpm macro
-------------------------------------------------------------------
Thu Dec 3 23:06:12 UTC 2020 - Benjamin Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-manuel
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2013-2018 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@ -27,6 +27,7 @@ URL: https://pypi.org/project/manuel/
Source: https://files.pythonhosted.org/packages/source/m/manuel/manuel-%{version}.tar.gz
# add fixed sphinx config <hpj@urpla.net>
Source1: conf.py
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: fdupes
@ -71,7 +72,7 @@ fi
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py -q test
%pytest src/manuel/tests.py
%files %{python_files}
%license LICENSE.rst