forked from pool/python-pyftpdlib
Accepting request 1291290 from devel:languages:python
- Convert to libalternatives OBS-URL: https://build.opensuse.org/request/show/1291290 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyftpdlib?expand=0&rev=23
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 8 13:56:26 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to libalternatives
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 31 12:04:37 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pyftpdlib
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2016 LISA GmbH, Bingen, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -17,6 +17,7 @@
|
||||
#
|
||||
|
||||
|
||||
%bcond_without libalternatives
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pyftpdlib
|
||||
Version: 1.5.10
|
||||
@@ -33,11 +34,11 @@ BuildRequires: %{python_module pysendfile}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: alts
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: alts
|
||||
Requires: python-pyOpenSSL
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Recommends: python-pysendfile
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
@@ -82,11 +83,8 @@ export TZ=GMT+1
|
||||
$python -m pytest
|
||||
}
|
||||
|
||||
%post
|
||||
%python_install_alternative ftpbench
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative ftpbench
|
||||
%pre
|
||||
%python_libalternatives_reset_alternative ftpbench
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
Reference in New Issue
Block a user