Accepting request 662482 from devel:languages:python:avocado

- Do not run tests on old distributions

OBS-URL: https://build.opensuse.org/request/show/662482
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-inspektor?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2019-01-03 17:09:01 +00:00 committed by Git OBS Bridge
commit 0f7d355747
2 changed files with 14 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 2 08:47:15 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
- Do not run tests on old distributions
-------------------------------------------------------------------
Tue Oct 9 08:21:56 UTC 2018 - Martin Pluskal <mpluskal@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-inspektor
#
# 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
@ -26,14 +26,14 @@ 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 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 pylint} >= 1.3.1
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
@ -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