From 02bcd0b5049bfc88cb751f737be20970b3cb8727deb8d9781b9979780eb4a597 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 5 Jun 2019 10:21:29 +0000 Subject: [PATCH] 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 --- python-h11.changes | 5 +++++ python-h11.spec | 10 ++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/python-h11.changes b/python-h11.changes index 162f12e..b8e4023 100644 --- a/python-h11.changes +++ b/python-h11.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 5 08:36:51 UTC 2019 - Petr Gajdos + +- test package in %check + ------------------------------------------------------------------- Tue Dec 4 21:14:53 UTC 2018 - aloisio@gmx.com diff --git a/python-h11.spec b/python-h11.spec index c055eec..6a225ec 100644 --- a/python-h11.spec +++ b/python-h11.spec @@ -1,7 +1,7 @@ # # 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 # 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) # 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: fdupes BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module pytest} +# /SECTION BuildArch: noarch %python_subpackages @@ -45,6 +48,9 @@ heavily inspired by hyper-h2 %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%pytest + %files %{python_files} %doc README.rst %license LICENSE.txt