Compare commits
1 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| a04b74f198 |
@@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 19 14:26:32 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to libalternatives on SLE-16-based and newer systems only
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 10 08:53:50 UTC 2025 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
- Set CIBUILDWHEEL to avoid spurious test failures
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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,11 @@
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?suse_version} > 1500
|
||||
%bcond_without libalternatives
|
||||
%else
|
||||
%bcond_with libalternatives
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pyftpdlib
|
||||
Version: 1.5.10
|
||||
@@ -36,10 +41,15 @@ BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-pyOpenSSL
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Recommends: python-pysendfile
|
||||
BuildArch: noarch
|
||||
%if %{with libalternatives}
|
||||
BuildRequires: alts
|
||||
Requires: alts
|
||||
%else
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -61,6 +71,7 @@ cp %{SOURCE1} pyftpdlib/test
|
||||
# Note: Do not remove tests. Other packages import them
|
||||
|
||||
%check
|
||||
export CIBUILDWHEEL=1
|
||||
ignorebuild="--ignore build"
|
||||
%{python_expand # expand to python flavor, not to the binary name, then strip the trailing _
|
||||
builddir=_build.$python_
|
||||
@@ -88,6 +99,9 @@ $python -m pytest
|
||||
%postun
|
||||
%python_uninstall_alternative ftpbench
|
||||
|
||||
%pre
|
||||
%python_libalternatives_reset_alternative ftpbench
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
|
||||
Reference in New Issue
Block a user