Script 'mail_helper' called by obssrc
Hello community,

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

Package is "python-TermRecord"

Wed Jun  4 23:48:36 2025 rev:6 rq:1282849 version:1.2.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-TermRecord/python-TermRecord.changes      
2025-05-12 20:19:39.487400461 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-TermRecord.new.16005/python-TermRecord.changes
   2025-06-04 23:48:37.435469517 +0200
@@ -1,0 +2,5 @@
+Wed Jun  4 15:32:41 UTC 2025 - Felix Stegmeier <felix.stegme...@suse.com>
+
+- fix usage of libalternatives
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-TermRecord.spec ++++++
--- /var/tmp/diff_new_pack.bJEOSU/_old  2025-06-04 23:48:38.011493433 +0200
+++ /var/tmp/diff_new_pack.bJEOSU/_new  2025-06-04 23:48:38.015493599 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%bcond_without libalternatives
 Name:           python-TermRecord
 Version:        1.2.5
 Release:        0
@@ -26,11 +27,11 @@
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
+BuildRequires:  alts
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       alts
 Requires:       python-Jinja2 >= 2.6
-Requires(post): alts
-Requires(postun): alts
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module Jinja2 >= 2.6}
@@ -55,11 +56,9 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %python_clone -a %{buildroot}%{_bindir}/TermRecord
 
-%post
-%python_install_alternative TermRecord
-
-%postun
-%python_uninstall_alternative TermRecord
+%pre
+# Removing old update-alternatives entries.
+%python_libalternatives_reset_alternative TermRecord
 
 %files %{python_files}
 %license LICENSE

Reply via email to