From 854a1eb9f7f1bd9f1e4461f55db5458d90182e5b45ee03d7a47336b9bfd45b1c Mon Sep 17 00:00:00 2001 From: Antonio Larrosa Date: Thu, 25 Feb 2021 14:59:28 +0000 Subject: [PATCH] Accepting request 875139 from home:alarrosa:branches:devel:languages:python - Require the pulseaudio-daemon capability instead of the pulseaudio package, so alternative implementations can be used (boo#1182730). OBS-URL: https://build.opensuse.org/request/show/875139 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pulsectl?expand=0&rev=12 --- python-pulsectl.changes | 7 +++++++ python-pulsectl.spec | 10 +++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/python-pulsectl.changes b/python-pulsectl.changes index 8acb6fa..1130ad6 100644 --- a/python-pulsectl.changes +++ b/python-pulsectl.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Feb 25 11:33:35 UTC 2021 - Antonio Larrosa + +- Require the pulseaudio-daemon capability instead of the + pulseaudio package, so alternative implementations can be used + (boo#1182730). + ------------------------------------------------------------------- Thu Mar 19 09:49:49 UTC 2020 - Marketa Calabkova diff --git a/python-pulsectl.spec b/python-pulsectl.spec index ab953ff..5675238 100644 --- a/python-pulsectl.spec +++ b/python-pulsectl.spec @@ -1,7 +1,7 @@ # # spec file for package python-pulsectl # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,11 +29,15 @@ Source: https://files.pythonhosted.org/packages/source/p/pulsectl/pulsec BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: pulseaudio >= 5.0 +%if 0%{?sle_version} && 0%{?sle_version} < 150300 +Requires: pulseaudio +%else +Requires: pulseaudio-daemon +%endif Requires: python-setuptools BuildArch: noarch %if %{with test} -BuildRequires: libpulse-devel >= 5.0 +BuildRequires: libpulse-devel BuildRequires: pulseaudio BuildRequires: pulseaudio-utils %endif