Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-aiosmtpd for openSUSE:Factory 
checked in at 2025-06-17 18:21:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-aiosmtpd (Old)
 and      /work/SRC/openSUSE:Factory/.python-aiosmtpd.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-aiosmtpd"

Tue Jun 17 18:21:15 2025 rev:17 rq:1286096 version:1.4.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-aiosmtpd/python-aiosmtpd.changes  
2024-11-28 22:42:53.894331685 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-aiosmtpd.new.19631/python-aiosmtpd.changes   
    2025-06-17 18:21:44.141092720 +0200
@@ -1,0 +2,5 @@
+Mon Jun 16 12:16:45 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to libalternatives
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-aiosmtpd.spec ++++++
--- /var/tmp/diff_new_pack.DRRCge/_old  2025-06-17 18:21:44.765118676 +0200
+++ /var/tmp/diff_new_pack.DRRCge/_new  2025-06-17 18:21:44.765118676 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-aiosmtpd
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,7 @@
 #
 
 
+%bcond_without libalternatives
 %{?sle15_python_module_pythons}
 Name:           python-aiosmtpd
 Version:        1.4.6
@@ -29,14 +30,14 @@
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
+BuildRequires:  alts
 BuildRequires:  fdupes
 BuildRequires:  git-core
 BuildRequires:  python-rpm-macros
+Requires:       alts
 Requires:       python-atpublic
 Requires:       python-attrs
 Requires:       user(nobody)
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module atpublic}
@@ -87,11 +88,8 @@
 
 %pytest $ignore
 
-%post
-%python_install_alternative aiosmtpd
-
-%postun
-%python_uninstall_alternative aiosmtpd
+%pre
+%python_libalternatives_reset_alternative aiosmtpd
 
 %files %{python_files}
 %doc README.rst

Reply via email to