Hello community,
here is the log from the commit of package python-flake8-import-order for
openSUSE:Leap:15.2 checked in at 2020-04-21 19:07:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-flake8-import-order (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-flake8-import-order.new.2738
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-flake8-import-order"
Tue Apr 21 19:07:27 2020 rev:5 rq:796064 version:0.18.1
Changes:
--------
---
/work/SRC/openSUSE:Leap:15.2/python-flake8-import-order/python-flake8-import-order.changes
2020-03-09 18:05:31.212822123 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-flake8-import-order.new.2738/python-flake8-import-order.changes
2020-04-21 19:08:47.564143949 +0200
@@ -1,0 +2,5 @@
+Mon Apr 20 12:06:21 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-flake8-import-order.spec ++++++
--- /var/tmp/diff_new_pack.Mc1wO9/_old 2020-04-21 19:08:47.988144812 +0200
+++ /var/tmp/diff_new_pack.Mc1wO9/_new 2020-04-21 19:08:47.988144812 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-flake8-import-order
#
-# 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-flake8-import-order
Version: 0.18.1
Release: 0
@@ -32,10 +33,12 @@
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-BuildRequires: python2-enum34
Requires: python-flake8
Requires: python-pycodestyle
BuildArch: noarch
+%if %{with python2}
+BuildRequires: python2-enum34
+%endif
%ifpython2
Requires: python2-enum34
%endif