Hello community,
here is the log from the commit of package python-h11 for openSUSE:Factory checked in at 2019-06-06 18:17:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-h11 (Old)
and /work/SRC/openSUSE:Factory/.python-h11.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-h11"
Thu Jun 6 18:17:01 2019 rev:3 rq:707793 version:0.8.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-h11/python-h11.changes 2018-12-05 09:46:17.244515510 +0100
+++ /work/SRC/openSUSE:Factory/.python-h11.new.4811/python-h11.changes 2019-06-06 18:17:04.924690249 +0200
@@ -1,0 +2,5 @@
+Wed Jun 5 08:36:51 UTC 2019 - Petr Gajdos
+
+- test package in %check
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-h11.spec ++++++
--- /var/tmp/diff_new_pack.5Z29gV/_old 2019-06-06 18:17:05.452690095 +0200
+++ /var/tmp/diff_new_pack.5Z29gV/_new 2019-06-06 18:17:05.456690093 +0200
@@ -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 @@
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 @@
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%check
+%pytest
+
%files %{python_files}
%doc README.rst
%license LICENSE.txt