- Do not run tests on old distributions

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:avocado/python-inspektor?expand=0&rev=10
This commit is contained in:
Martin Pluskal 2019-01-02 14:46:42 +00:00 committed by Git OBS Bridge
parent c0767433e2
commit 0f0b35ccca
2 changed files with 11 additions and 8 deletions

View File

@ -1,7 +1,7 @@
-------------------------------------------------------------------
Wed Jan 2 08:47:15 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
- Only python3 version of astroid and pylint is required
- Do not run tests on old distributions
-------------------------------------------------------------------
Tue Oct 9 08:21:56 UTC 2018 - Martin Pluskal <mpluskal@suse.com>

View File

@ -26,26 +26,26 @@ License: GPL-2.0-only
Group: Development/Languages/Python
URL: https://github.com/avocado-framework/inspektor
Source: https://github.com/avocado-framework/inspektor/archive/%{version}.tar.gz#/%{pkgname}-%{version}.tar.gz
BuildRequires: %{python_module astroid >= 1.2.1}
BuildRequires: %{python_module cliff}
BuildRequires: %{python_module cmd2}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module logutils} >= 0.3.3
BuildRequires: %{python_module pbr} >= 1.4
BuildRequires: %{python_module pycodestyle} >= 2.0.0
BuildRequires: %{python_module logutils >= 0.3.3}
BuildRequires: %{python_module pbr >= 1.4}
BuildRequires: %{python_module pycodestyle >= 2.0.0}
BuildRequires: %{python_module pylint >= 1.3.1}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module stevedore}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-astroid >= 1.2.1
BuildRequires: python3-pylint >= 1.3.1
Requires: python-astroid >= 1.2.1
Requires: python-cliff
Requires: python-cmd2
Requires: python-logutils >= 0.3.3
Requires: python-pbr >= 1.4
Requires: python-pycodestyle >= 2.0.0
Requires: python-pylint >= 1.3.1
Requires: python-stevedore
Requires: python3-astroid >= 1.2.1
Requires: python3-pylint >= 1.3.1
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
@ -69,7 +69,10 @@ Inspektor can work with Git and SVN checkouts.
%python_build
%check
# No worky on SLE
%if 0%{?suse_version} >= 1500
%python_exec setup.py test
%endif
%install
%python_install