Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-audiogrep for
openSUSE:Factory checked in at 2025-06-04 20:30:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-audiogrep (Old)
and /work/SRC/openSUSE:Factory/.python-audiogrep.new.16005 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-audiogrep"
Wed Jun 4 20:30:19 2025 rev:4 rq:1282839 version:0.1.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-audiogrep/python-audiogrep.changes
2025-05-14 17:01:13.355280706 +0200
+++
/work/SRC/openSUSE:Factory/.python-audiogrep.new.16005/python-audiogrep.changes
2025-06-04 20:30:32.501927045 +0200
@@ -1,0 +2,5 @@
+Wed Jun 4 15:15:00 UTC 2025 - Felix Stegmeier <[email protected]>
+
+- fix usage of libalternatives
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-audiogrep.spec ++++++
--- /var/tmp/diff_new_pack.koyoYW/_old 2025-06-04 20:30:33.029948939 +0200
+++ /var/tmp/diff_new_pack.koyoYW/_new 2025-06-04 20:30:33.029948939 +0200
@@ -16,6 +16,7 @@
#
+%bcond_without libalternatives
Name: python-audiogrep
Version: 0.1.5
Release: 0
@@ -27,13 +28,13 @@
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
+BuildRequires: alts
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+Requires: alts
Requires: ffmpeg
Requires: pocketsphinx
Requires: python-pydub
-Requires(post): alts
-Requires(postun): alts
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pydub}
@@ -55,11 +56,9 @@
%python_clone -a %{buildroot}%{_bindir}/audiogrep
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%post
-%python_install_alternative audiogrep
-
-%postun
-%python_uninstall_alternative audiogrep
+%pre
+# Removing old update-alternatives entries.
+%python_libalternatives_reset_alternative audiogrep
%files %{python_files}
%doc README.md