forked from pool/python-pyftpdlib
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| b47637cc4d | |||
| 84a3c17ab4 |
@@ -1,18 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
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>
|
Sat Aug 31 12:04:37 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pyftpdlib
|
# spec file for package python-pyftpdlib
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
# Copyright (c) 2016 LISA GmbH, Bingen, Germany.
|
# Copyright (c) 2016 LISA GmbH, Bingen, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@@ -17,11 +17,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1500
|
|
||||||
%bcond_without libalternatives
|
|
||||||
%else
|
|
||||||
%bcond_with libalternatives
|
|
||||||
%endif
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pyftpdlib
|
Name: python-pyftpdlib
|
||||||
Version: 1.5.10
|
Version: 1.5.10
|
||||||
@@ -41,15 +36,10 @@ BuildRequires: %{python_module wheel}
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-pyOpenSSL
|
Requires: python-pyOpenSSL
|
||||||
Recommends: python-pysendfile
|
|
||||||
BuildArch: noarch
|
|
||||||
%if %{with libalternatives}
|
|
||||||
BuildRequires: alts
|
|
||||||
Requires: alts
|
|
||||||
%else
|
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
%endif
|
Recommends: python-pysendfile
|
||||||
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -71,7 +61,6 @@ cp %{SOURCE1} pyftpdlib/test
|
|||||||
# Note: Do not remove tests. Other packages import them
|
# Note: Do not remove tests. Other packages import them
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export CIBUILDWHEEL=1
|
|
||||||
ignorebuild="--ignore build"
|
ignorebuild="--ignore build"
|
||||||
%{python_expand # expand to python flavor, not to the binary name, then strip the trailing _
|
%{python_expand # expand to python flavor, not to the binary name, then strip the trailing _
|
||||||
builddir=_build.$python_
|
builddir=_build.$python_
|
||||||
@@ -99,9 +88,6 @@ $python -m pytest
|
|||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative ftpbench
|
%python_uninstall_alternative ftpbench
|
||||||
|
|
||||||
%pre
|
|
||||||
%python_libalternatives_reset_alternative ftpbench
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
|||||||
Reference in New Issue
Block a user