diff --git a/python-pytest-instafail.changes b/python-pytest-instafail.changes index b6395db..230dc91 100644 --- a/python-pytest-instafail.changes +++ b/python-pytest-instafail.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 14 14:10:32 UTC 2019 - Tomáš Chvátal + +- Really execute the testsuite + ------------------------------------------------------------------- Tue May 29 16:49:24 UTC 2018 - toddrme2178@gmail.com diff --git a/python-pytest-instafail.spec b/python-pytest-instafail.spec index b8089e5..72fa600 100644 --- a/python-pytest-instafail.spec +++ b/python-pytest-instafail.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-instafail # -# 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,29 +12,28 @@ # 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/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 Name: python-pytest-instafail Version: 0.4.0 Release: 0 -License: BSD-2-Clause Summary: Pytest Plugin to Show Failures Instantly -Url: https://github.com/jpvanhal/pytest-instafail +License: BSD-2-Clause Group: Development/Languages/Python +URL: https://github.com/jpvanhal/pytest-instafail Source: https://files.pythonhosted.org/packages/source/p/pytest-instafail/pytest-instafail-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-pytest >= 2.9 +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module pytest >= 2.9} # /SECTION -Requires: python-pytest >= 2.9 -BuildArch: noarch - %python_subpackages %description @@ -53,12 +52,11 @@ until the end of test session. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec test_instafail.py +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v %files %{python_files} -%defattr(-,root,root,-) %doc CHANGES.rst README.rst %license LICENSE %{python_sitelib}/* -%changelog \ No newline at end of file +%changelog