Hello community,

here is the log from the commit of package python-pyftpdlib for 
openSUSE:Factory checked in at 2020-05-26 17:17:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyftpdlib (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyftpdlib.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyftpdlib"

Tue May 26 17:17:30 2020 rev:12 rq:807662 version:1.5.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyftpdlib/python-pyftpdlib.changes        
2020-04-21 13:09:18.868650400 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pyftpdlib.new.2738/python-pyftpdlib.changes  
    2020-05-26 17:18:19.143845650 +0200
@@ -1,0 +2,5 @@
+Wed May 20 07:26:27 UTC 2020 - Petr Gajdos <pgaj...@suse.com>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pyftpdlib.spec ++++++
--- /var/tmp/diff_new_pack.Ox8DS3/_old  2020-05-26 17:18:20.155847826 +0200
+++ /var/tmp/diff_new_pack.Ox8DS3/_new  2020-05-26 17:18:20.159847835 +0200
@@ -37,6 +37,8 @@
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-pyOpenSSL
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 Recommends:     python-pysendfile
 BuildArch:      noarch
 %if %{with python2}
@@ -60,6 +62,7 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/ftpbench
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 # Note: Do not remove tests. Other packages import them
 
@@ -69,10 +72,16 @@
 %python_exec pyftpdlib/test/runner.py
 %endif
 
+%post
+%python_install_alternative ftpbench
+
+%postun
+%python_uninstall_alternative ftpbench
+
 %files %{python_files}
 %license LICENSE
 %doc README.rst
-%python3_only %{_bindir}/ftpbench
+%python_alternative %{_bindir}/ftpbench
 %{python_sitelib}/*
 
 %changelog


Reply via email to