Accepting request 707791 from home:pgajdos

- test package in %check

OBS-URL: https://build.opensuse.org/request/show/707791
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h11?expand=0&rev=6
This commit is contained in:
Tomáš Chvátal 2019-06-05 10:21:29 +00:00 committed by Git OBS Bridge
parent 8d4147affc
commit 02bcd0b504
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 5 08:36:51 UTC 2019 - Petr Gajdos <pgajdos@suse.com>
- test package in %check
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 4 21:14:53 UTC 2018 - aloisio@gmx.com Tue Dec 4 21:14:53 UTC 2018 - aloisio@gmx.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-h11 # spec file for package python-h11
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# 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
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
@ -28,6 +28,9 @@ Source: https://files.pythonhosted.org/packages/source/h/h11/h11-%{versi
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module pytest}
# /SECTION
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@ -45,6 +48,9 @@ heavily inspired by hyper-h2 <https://hyper-h2.readthedocs.io>
%python_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst
%license LICENSE.txt %license LICENSE.txt