Script 'mail_helper' called by obssrc
Hello community,

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

Package is "python-cppclean"

Wed Jun  4 20:30:04 2025 rev:6 rq:1282803 version:0.13

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cppclean/python-cppclean.changes  
2025-05-20 09:38:16.665841970 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-cppclean.new.16005/python-cppclean.changes   
    2025-06-04 20:30:22.053493798 +0200
@@ -1,0 +2,5 @@
+Wed Jun  4 14:32:35 UTC 2025 - Felix Stegmeier <felix.stegme...@suse.com>
+
+- fix usage of libalternatives
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-cppclean.spec ++++++
--- /var/tmp/diff_new_pack.Y7zQoN/_old  2025-06-04 20:30:22.749522659 +0200
+++ /var/tmp/diff_new_pack.Y7zQoN/_new  2025-06-04 20:30:22.753522825 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%bcond_without libalternatives
 Name:           python-cppclean
 Version:        0.13
 Release:        0
@@ -27,11 +28,11 @@
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
+BuildRequires:  alts
 BuildRequires:  bash
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires(post): alts
-Requires(postun): alts
+Requires:       alts
 BuildArch:      noarch
 %python_subpackages
 
@@ -56,11 +57,9 @@
 %check
 %python_expand PYTHON=%{__$python} bash test.bash
 
-%post
-%python_install_alternative cppclean
-
-%postun
-%python_uninstall_alternative cppclean
+%pre
+# Removing old update-alternatives entries.
+%python_libalternatives_reset_alternative cppclean
 
 %files %{python_files}
 %license COPYING

Reply via email to