Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyftpdlib for 
openSUSE:Factory checked in at 2025-08-20 13:24:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyftpdlib (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyftpdlib.new.29662 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyftpdlib"

Wed Aug 20 13:24:53 2025 rev:25 rq:1300308 version:1.5.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyftpdlib/python-pyftpdlib.changes        
2025-07-10 23:15:17.433144176 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pyftpdlib.new.29662/python-pyftpdlib.changes 
    2025-08-20 13:25:04.735776766 +0200
@@ -1,0 +2,5 @@
+Tue Aug 19 14:26:32 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to libalternatives on SLE-16-based and newer systems only
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pyftpdlib.spec ++++++
--- /var/tmp/diff_new_pack.ixaYdX/_old  2025-08-20 13:25:05.503809055 +0200
+++ /var/tmp/diff_new_pack.ixaYdX/_new  2025-08-20 13:25:05.503809055 +0200
@@ -17,7 +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
@@ -34,13 +38,18 @@
 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
 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
@@ -84,6 +93,12 @@
 $python -m pytest
 }
 
+%post
+%python_install_alternative ftpbench
+
+%postun
+%python_uninstall_alternative ftpbench
+
 %pre
 %python_libalternatives_reset_alternative ftpbench
 

Reply via email to