Hello community, here is the log from the commit of package python-pluggy for openSUSE:Factory checked in at 2017-12-23 12:11:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pluggy (Old) and /work/SRC/openSUSE:Factory/.python-pluggy.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pluggy" Sat Dec 23 12:11:47 2017 rev:5 rq:559131 version:0.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pluggy/python-pluggy.changes 2017-12-02 13:10:47.838095674 +0100 +++ /work/SRC/openSUSE:Factory/.python-pluggy.new/python-pluggy.changes 2017-12-23 12:11:48.742034088 +0100 @@ -1,0 +2,5 @@ +Thu Dec 21 16:12:04 UTC 2017 - [email protected] + +- run tests conditionally (fixes bsc#1073845) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pluggy.spec ++++++ --- /var/tmp/diff_new_pack.ySvzHc/_old 2017-12-23 12:11:49.230010294 +0100 +++ /var/tmp/diff_new_pack.ySvzHc/_new 2017-12-23 12:11:49.230010294 +0100 @@ -17,6 +17,8 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_with tests + Name: python-pluggy Version: 0.6.0 Release: 0 @@ -25,7 +27,9 @@ Group: Development/Languages/Python Url: https://github.com/pytest-dev/pluggy Source: https://files.pythonhosted.org/packages/source/p/pluggy/pluggy-%{version}.tar.gz +%if %{with tests} BuildRequires: %{python_module pytest} +%endif BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -48,8 +52,10 @@ %install %python_install +%if %{with tests} %check %python_exec -m pytest testing +%endif %files %{python_files} %defattr(-,root,root,-)
