Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-cloud-init-seed for 
openSUSE:Factory checked in at 2025-06-04 20:30:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cloud-init-seed (Old)
 and      /work/SRC/openSUSE:Factory/.python-cloud-init-seed.new.16005 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cloud-init-seed"

Wed Jun  4 20:30:15 2025 rev:4 rq:1282836 version:0.3.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-cloud-init-seed/python-cloud-init-seed.changes
    2025-05-20 09:37:45.460481057 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-cloud-init-seed.new.16005/python-cloud-init-seed.changes
 2025-06-04 20:30:30.849858541 +0200
@@ -1,0 +2,5 @@
+Wed Jun  4 15:00:53 UTC 2025 - Felix Stegmeier <felix.stegme...@suse.com>
+
+- fix usage of libalternatives 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-cloud-init-seed.spec ++++++
--- /var/tmp/diff_new_pack.XUxpKp/_old  2025-06-04 20:30:31.289876786 +0200
+++ /var/tmp/diff_new_pack.XUxpKp/_new  2025-06-04 20:30:31.289876786 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%bcond_without libalternatives
 Name:           python-cloud-init-seed
 Version:        0.3.0
 Release:        0
@@ -29,11 +30,11 @@
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
+BuildRequires:  alts
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       alts
 Requires:       mkisofs
-Requires(post): alts
-Requires(postun): alts
 BuildArch:      noarch
 %python_subpackages
 
@@ -51,11 +52,9 @@
 %python_clone -a %{buildroot}%{_bindir}/cloud-init-seed
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%post
-%python_install_alternative cloud-init-seed
-
-%postun
-%python_uninstall_alternative cloud-init-seed
+%pre
+# Removing old update-alternatives entries.
+%python_libalternatives_reset_alternative cloud-init-seed
 
 %files %{python_files}
 %doc AUTHORS ChangeLog README.rst

Reply via email to