Hello community, here is the log from the commit of package python-fs for openSUSE:Leap:15.2 checked in at 2020-04-22 14:14:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-fs (Old) and /work/SRC/openSUSE:Leap:15.2/.python-fs.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-fs" Wed Apr 22 14:14:10 2020 rev:5 rq:796227 version:2.4.11 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-fs/python-fs.changes 2020-04-18 18:40:48.489925405 +0200 +++ /work/SRC/openSUSE:Leap:15.2/.python-fs.new.2738/python-fs.changes 2020-04-22 14:15:01.282750005 +0200 @@ -1,0 +2,5 @@ +Mon Apr 20 12:01:32 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Fix build wihtout python2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-fs.spec ++++++ --- /var/tmp/diff_new_pack.aHQBJM/_old 2020-04-22 14:15:01.818751088 +0200 +++ /var/tmp/diff_new_pack.aHQBJM/_new 2020-04-22 14:15:01.818751088 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-fs # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2016 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -18,6 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-fs Version: 2.4.11 Release: 0 @@ -38,9 +39,6 @@ BuildRequires: %{python_module six >= 1.10.0} BuildRequires: %{python_module typing >= 3.6} BuildRequires: fdupes -BuildRequires: python-backports.os >= 0.1 -BuildRequires: python-enum34 >= 1.1.6 -BuildRequires: python-mock BuildRequires: python-rpm-macros Requires: python-appdirs >= 1.4.3 Requires: python-psutil @@ -50,6 +48,11 @@ Requires: python-typing >= 3.6 Recommends: python-pyftpdlib BuildArch: noarch +%if %{with python2} +BuildRequires: python-backports.os >= 0.1 +BuildRequires: python-enum34 >= 1.1.6 +BuildRequires: python-mock +%endif %ifpython2 Requires: python-backports.os >= 0.1 %endif
