Hello community,

here is the log from the commit of package python-aiosmtpd for openSUSE:Factory 
checked in at 2020-06-10 00:43:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-aiosmtpd (Old)
 and      /work/SRC/openSUSE:Factory/.python-aiosmtpd.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-aiosmtpd"

Wed Jun 10 00:43:42 2020 rev:3 rq:809818 version:1.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-aiosmtpd/python-aiosmtpd.changes  
2020-01-02 14:42:28.420938642 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-aiosmtpd.new.3606/python-aiosmtpd.changes    
    2020-06-10 00:43:48.482243575 +0200
@@ -1,0 +2,5 @@
+Wed May 27 09:36:02 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-aiosmtpd.spec ++++++
--- /var/tmp/diff_new_pack.0RprT8/_old  2020-06-10 00:43:50.846249476 +0200
+++ /var/tmp/diff_new_pack.0RprT8/_new  2020-06-10 00:43:50.850249486 +0200
@@ -33,6 +33,8 @@
 BuildRequires:  python-rpm-macros
 Requires:       python-atpublic
 Requires:       user(nobody)
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module atpublic}
@@ -54,16 +56,23 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/aiosmtpd
 %python_expand rm -r %{buildroot}%{$python_sitelib}/examples
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %pytest
 
+%post
+%python_install_alternative aiosmtpd
+
+%postun
+%python_uninstall_alternative aiosmtpd
+
 %files %{python_files}
 %doc README.rst
 %license LICENSE-2.0.txt
-%python3_only %{_bindir}/aiosmtpd
+%python_alternative %{_bindir}/aiosmtpd
 %{python_sitelib}/*
 
 %changelog


Reply via email to