Hello community,
here is the log from the commit of package python-vim-vint for
openSUSE:Leap:15.2 checked in at 2020-04-21 19:07:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-vim-vint (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-vim-vint.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-vim-vint"
Tue Apr 21 19:07:10 2020 rev:2 rq:796040 version:0.3.21
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-vim-vint/python-vim-vint.changes
2020-02-22 18:50:41.196506053 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-vim-vint.new.2738/python-vim-vint.changes
2020-04-21 19:08:38.624125749 +0200
@@ -1,0 +2,5 @@
+Mon Apr 20 07:27:28 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-vim-vint.spec ++++++
--- /var/tmp/diff_new_pack.sy54RM/_old 2020-04-21 19:08:39.136126791 +0200
+++ /var/tmp/diff_new_pack.sy54RM/_new 2020-04-21 19:08:39.140126799 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-vim-vint
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,6 +17,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
Name: python-vim-vint
Version: 0.3.21
Release: 0
@@ -35,14 +36,16 @@
BuildRequires: %{python_module pytest-cov >= 1.8.1}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
-BuildRequires: python-enum34 >= 1.0.4
BuildRequires: python-rpm-macros
-BuildRequires: python-typing >= 3.6.2
-BuildRequires: python2-mock >= 1.0.1
Requires: python-PyYAML >= 3.11
Requires: python-ansicolor >= 0.2.4
Requires: python-chardet >= 2.3.0
BuildArch: noarch
+%if %{with python2}
+BuildRequires: python-enum34 >= 1.0.4
+BuildRequires: python-mock >= 1.0.1
+BuildRequires: python-typing >= 3.6.2
+%endif
%ifpython2
Requires: python-enum34 >= 1.0.4
Requires: python-pathlib >= 1.0.1