14
0

- Regenerate new private key/x509 certificate for the test suite.

(thanks, Jason!)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyftpdlib?expand=0&rev=31
This commit is contained in:
2021-10-26 04:13:31 +00:00
committed by Git OBS Bridge
parent 49cdd14ee4
commit d562588985
3 changed files with 60 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ License: MIT
Group: Development/Languages/Python
URL: https://github.com/giampaolo/pyftpdlib/
Source: https://files.pythonhosted.org/packages/source/p/pyftpdlib/pyftpdlib-%{version}.tar.gz
Source1: keycert.pem
BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pyOpenSSL}
BuildRequires: %{python_module pysendfile}
@@ -55,6 +56,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
cp %{SOURCE1} pyftpdlib/test
%build
%python_build