forked from pool/python-pyftpdlib
Accepting request 891607 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/891607 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyftpdlib?expand=0&rev=15
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 7 23:13:10 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Skip masquerade tests failung because the newest Pythons don't
|
||||
allow invalid addresses gh#giampaolo/pyftpdlib#550, bpo-43285
|
||||
- Remove script interpreter lines for test files and _compyt.py
|
||||
(fix rpmlint warnings)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 18 16:29:52 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pyftpdlib
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2016 LISA GmbH, Bingen, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -36,7 +36,7 @@ BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-pyOpenSSL
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Recommends: python-pysendfile
|
||||
BuildArch: noarch
|
||||
%if %{with python2}
|
||||
@@ -54,6 +54,7 @@ write very asynchronous FTP servers with Python.
|
||||
|
||||
%prep
|
||||
%setup -q -n pyftpdlib-%{version}
|
||||
sed -i '1 {/env python/ d}' pyftpdlib/test/*.py pyftpdlib/_compat.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -71,6 +72,8 @@ write very asynchronous FTP servers with Python.
|
||||
# and disable only related tests.
|
||||
donttest="(TestFtpStoreDataTLSMixin and test_rest_on_stor)"
|
||||
donttest+=" or (TestFtpStoreDataTLSMixin and test_stor_ascii)"
|
||||
# https://github.com/giampaolo/pyftpdlib/issues/550
|
||||
donttest+=" or test_masquerade_address"
|
||||
ignorebuild="--ignore build"
|
||||
%{python_expand # expand to python flavor, not to the binary name, then strip the trailing _
|
||||
builddir=_build.$python_
|
||||
|
Reference in New Issue
Block a user