Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-inspektor for
openSUSE:Factory checked in at 2021-04-29 22:46:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-inspektor (Old)
and /work/SRC/openSUSE:Factory/.python-inspektor.new.1947 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-inspektor"
Thu Apr 29 22:46:05 2021 rev:6 rq:889351 version:0.5.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-inspektor/python-inspektor.changes
2019-04-17 10:09:51.594881589 +0200
+++
/work/SRC/openSUSE:Factory/.python-inspektor.new.1947/python-inspektor.changes
2021-04-29 22:52:42.214080660 +0200
@@ -1,0 +2,12 @@
+Thu Apr 29 13:20:53 UTC 2021 - Benjamin Greiner <[email protected]>
+
+- Only build for primary python3
+
+-------------------------------------------------------------------
+Wed Apr 14 04:51:13 UTC 2021 - Steve Kowalik <[email protected]>
+
+- Only build for 3.8, some depends only built there.
+- There is no test suite, remove trying to run it.
+- Remove broken %ifpython3 macro.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-inspektor.spec ++++++
--- /var/tmp/diff_new_pack.MgBIMU/_old 2021-04-29 22:52:42.826077934 +0200
+++ /var/tmp/diff_new_pack.MgBIMU/_new 2021-04-29 22:52:42.826077934 +0200
@@ -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,19 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%if 0%{suse_version} >= 1550
+# cliff and stevedore are only built for primary python3
+%define pythons python3
+%endif
%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 +37,10 @@
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 +50,10 @@
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 +70,7 @@
%python_build
%check
-# No worky on SLE
-%if 0%{?suse_version} >= 1500
-%python_exec setup.py test
-%endif
+# No test suite
%install
%python_install