Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-MarkupSafe for openSUSE:Factory checked in at 2021-04-26 16:38:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-MarkupSafe (Old) and /work/SRC/openSUSE:Factory/.python-MarkupSafe.new.12324 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-MarkupSafe" Mon Apr 26 16:38:51 2021 rev:21 rq:887976 version:1.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-MarkupSafe/python-MarkupSafe.changes 2019-03-08 11:00:48.136546539 +0100 +++ /work/SRC/openSUSE:Factory/.python-MarkupSafe.new.12324/python-MarkupSafe.changes 2021-04-26 16:39:07.154027397 +0200 @@ -1,0 +2,5 @@ +Fri Apr 16 07:30:01 UTC 2021 - Dirk M??ller <[email protected]> + +- allow tests to be disabled (still on by default) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-MarkupSafe.spec ++++++ --- /var/tmp/diff_new_pack.Ii9IPg/_old 2021-04-26 16:39:07.606028116 +0200 +++ /var/tmp/diff_new_pack.Ii9IPg/_new 2021-04-26 16:39:07.610028122 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-MarkupSafe # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,6 +16,7 @@ # +%bcond_without test %define oldpython python %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-MarkupSafe @@ -27,7 +28,9 @@ Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz BuildRequires: %{python_module devel} +%if %{with test} BuildRequires: %{python_module pytest} +%endif BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -55,8 +58,10 @@ %python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand rm %{buildroot}%{$python_sitearch}/markupsafe/_speedups.c +%if %{with test} %check %python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m pytest +%endif %files %{python_files} %license LICENSE.rst
