Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pulsemixer for
openSUSE:Factory checked in at 2026-05-18 17:47:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pulsemixer (Old)
and /work/SRC/openSUSE:Factory/.python-pulsemixer.new.1966 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pulsemixer"
Mon May 18 17:47:54 2026 rev:2 rq:1353744 version:1.5.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pulsemixer/python-pulsemixer.changes
2023-06-05 18:06:22.187049358 +0200
+++
/work/SRC/openSUSE:Factory/.python-pulsemixer.new.1966/python-pulsemixer.changes
2026-05-18 17:48:39.369887924 +0200
@@ -1,0 +2,6 @@
+Fri May 15 12:02:50 UTC 2026 - Marius Grossu <[email protected]>
+
+- Use libalternatives instead of update-alternatives in SLES-16 and
+ Tumbleweed
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pulsemixer.spec ++++++
--- /var/tmp/diff_new_pack.7fj6GI/_old 2026-05-18 17:48:41.357970075 +0200
+++ /var/tmp/diff_new_pack.7fj6GI/_new 2026-05-18 17:48:41.361970240 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pulsemixer
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,6 +15,12 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
+
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
Name: python-pulsemixer
Version: 1.5.1
Release: 0
@@ -23,11 +29,18 @@
Group: Productivity/Multimedia/Sound/Mixers
URL: https://github.com/GeorgeFilipkin/pulsemixer
Source:
https://files.pythonhosted.org/packages/source/p/pulsemixer/pulsemixer-%{version}.tar.gz
-BuildRequires: python-rpm-macros
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
+BuildRequires: python-rpm-macros
+%if %{with libalternatives}
+Requires: alts
+BuildRequires: alts
+%else
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+%endif
BuildArch: noarch
%python_subpackages
@@ -45,6 +58,9 @@
%python_clone -a %{buildroot}%{_bindir}/pulsemixer
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%pre
+%python_libalternatives_reset_alternative pulsemixer
+
%post
%python_install_alternative pulsemixer