Hello community,

here is the log from the commit of package python-pyftpdlib for 
openSUSE:Factory checked in at 2020-04-21 13:09:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyftpdlib (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyftpdlib.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyftpdlib"

Tue Apr 21 13:09:02 2020 rev:11 rq:795774 version:1.5.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyftpdlib/python-pyftpdlib.changes        
2020-03-27 21:58:56.114849913 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pyftpdlib.new.2738/python-pyftpdlib.changes  
    2020-04-21 13:09:18.868650400 +0200
@@ -1,0 +2,5 @@
+Mon Apr 20 10:41:55 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pyftpdlib.spec ++++++
--- /var/tmp/diff_new_pack.MmWJoE/_old  2020-04-21 13:09:20.384653423 +0200
+++ /var/tmp/diff_new_pack.MmWJoE/_new  2020-04-21 13:09:20.388653431 +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


Reply via email to