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