Hello community, here is the log from the commit of package python-flake8 for openSUSE:Factory checked in at 2018-01-16 09:37:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-flake8 (Old) and /work/SRC/openSUSE:Factory/.python-flake8.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-flake8" Tue Jan 16 09:37:28 2018 rev:16 rq:563588 version:3.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-flake8/python-flake8.changes 2017-10-28 14:18:50.689781196 +0200 +++ /work/SRC/openSUSE:Factory/.python-flake8.new/python-flake8.changes 2018-01-16 09:37:29.911372189 +0100 @@ -1,0 +2,5 @@ +Thu Jan 11 12:11:06 UTC 2018 - tchva...@suse.com + +- Fix build with python3 only, add condition for the py2 only deps + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-flake8.spec ++++++ --- /var/tmp/diff_new_pack.XdM3Op/_old 2018-01-16 09:37:30.455346727 +0100 +++ /var/tmp/diff_new_pack.XdM3Op/_new 2018-01-16 09:37:30.455346727 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-flake8 # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,6 +16,7 @@ # +%bcond_without python2 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-flake8 Version: 3.5.0 @@ -36,8 +37,10 @@ BuildRequires: %{python_module pyflakes >= 1.5.0} BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module pytest} +%if %{with python2} BuildRequires: python2-configparser BuildRequires: python2-enum34 +%endif # /SECTION Requires: python-mccabe >= 0.6.0 Requires: python-pycodestyle >= 2.0.0