Hello community, here is the log from the commit of package python-pyftpdlib for openSUSE:Leap:15.2 checked in at 2020-04-25 19:05:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-pyftpdlib (Old) and /work/SRC/openSUSE:Leap:15.2/.python-pyftpdlib.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyftpdlib" Sat Apr 25 19:05:28 2020 rev:7 rq:797117 version:1.5.6 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-pyftpdlib/python-pyftpdlib.changes 2020-03-29 14:56:10.447180407 +0200 +++ /work/SRC/openSUSE:Leap:15.2/.python-pyftpdlib.new.2738/python-pyftpdlib.changes 2020-04-25 19:05:31.771653125 +0200 @@ -1,0 +2,5 @@ +Mon Apr 20 10:41:55 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Fix build without python2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyftpdlib.spec ++++++ --- /var/tmp/diff_new_pack.vwwD82/_old 2020-04-25 19:05:32.587654879 +0200 +++ /var/tmp/diff_new_pack.vwwD82/_new 2020-04-25 19:05:32.591654888 +0200 @@ -20,6 +20,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} # Tests randomly fail: https://github.com/giampaolo/pyftpdlib/issues/386 %bcond_with test +%bcond_without python2 Name: python-pyftpdlib Version: 1.5.6 Release: 0 @@ -34,15 +35,17 @@ BuildRequires: %{python_module pysendfile} BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: python-ipaddress -BuildRequires: python-mock BuildRequires: python-rpm-macros Requires: python-pyOpenSSL Recommends: python-pysendfile +BuildArch: noarch +%if %{with python2} +BuildRequires: python-ipaddress +BuildRequires: python-mock +%endif %ifpython2 Requires: python-ipaddress %endif -BuildArch: noarch %python_subpackages %description