forked from pool/python-restview
Accepting request 862861 from home:pgajdos:python
- use %pytest macro OBS-URL: https://build.opensuse.org/request/show/862861 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-restview?expand=0&rev=7
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 13 11:07:59 UTC 2021 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- use %pytest macro
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 19 09:27:44 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
Tue May 19 09:27:44 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-restview
|
# spec file for package python-restview
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -38,6 +38,7 @@ BuildArch: noarch
|
|||||||
BuildRequires: %{python_module docutils}
|
BuildRequires: %{python_module docutils}
|
||||||
BuildRequires: %{python_module mock}
|
BuildRequires: %{python_module mock}
|
||||||
BuildRequires: %{python_module pygments}
|
BuildRequires: %{python_module pygments}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module readme_renderer}
|
BuildRequires: %{python_module readme_renderer}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@@ -57,7 +58,7 @@ A viewer for ReStructuredText documents that renders them on the fly.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_exec setup.py test
|
%pytest
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative restview
|
%python_install_alternative restview
|
||||||
|
Reference in New Issue
Block a user