diff --git a/python-inspektor.changes b/python-inspektor.changes index 0ae195e..50a1b5c 100644 --- a/python-inspektor.changes +++ b/python-inspektor.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Apr 14 04:51:13 UTC 2021 - Steve Kowalik + +- Only build for 3.8, some depends only built there. +- There is no test suite, remove trying to run it. + ------------------------------------------------------------------- Tue Apr 16 09:59:52 UTC 2019 - Martin Pluskal diff --git a/python-inspektor.spec b/python-inspektor.spec index 9c1e4f9..4e73daa 100644 --- a/python-inspektor.spec +++ b/python-inspektor.spec @@ -1,7 +1,7 @@ # # spec file for package python-inspektor # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,18 +17,17 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +# cliff and stevedore are not built for 3.6 +%define skip_python36 1 %global pkgname inspektor Name: python-%{pkgname} Version: 0.5.2 Release: 0 Summary: Program used to verify the code of your python project 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 Source: https://files.pythonhosted.org/packages/42/8a/9e375ac0bb498760fe2408a2e0f1fe09808933e593d1b6f04193492b9048/inspektor-%{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} @@ -36,9 +35,10 @@ 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-cliff +BuildRequires: python3-stevedore Requires: python-astroid >= 1.2.1 Requires: python-cliff Requires: python-cmd2 @@ -48,12 +48,10 @@ Requires: python-pycodestyle >= 2.0.0 Requires: python-pylint >= 1.3.1 Requires: python-stevedore Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch -%ifpython3 BuildRequires: python3-typed-ast Requires: python3-typed-ast -%endif %python_subpackages %description @@ -70,10 +68,7 @@ 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 +# No test suite %install %python_install