From b88faed120d5b9b6fd6795a57de81c6825202161a15170aea62ae3b8dc5edee8 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 23 Oct 2020 09:13:04 +0000 Subject: [PATCH] Accepting request 842623 from home:junknot - Fix unintended package Requires against libpulse0 OBS-URL: https://build.opensuse.org/request/show/842623 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/apulse?expand=0&rev=30 --- apulse.changes | 5 +++++ apulse.spec | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/apulse.changes b/apulse.changes index 18a46b6..b063d36 100644 --- a/apulse.changes +++ b/apulse.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Oct 16 18:17:04 UTC 2020 - Tom Williams + +- Fix unintended package Requires against libpulse0 + ------------------------------------------------------------------- Tue Sep 29 18:17:04 UTC 2020 - Alexei Sorokin diff --git a/apulse.spec b/apulse.spec index 958e47b..896a387 100644 --- a/apulse.spec +++ b/apulse.spec @@ -42,6 +42,10 @@ BuildRequires: pkgconfig(libpulse) >= 5.0 %if %{?_lib} == lib64 Recommends: %{name}-32bit = %{version} %endif +AutoReq: 0 +Requires: libasound2 +Requires: libglib-2_0-0 +Requires: python3-base %description PulseAudio emulation intended to be used with Firefox and Skype. @@ -53,7 +57,9 @@ PulseAudio emulation intended to be used with Firefox and Skype. %cmake \ -DUSE_BUNDLED_PULSEAUDIO_HEADERS=OFF \ -DAPULSEPATH=%{_libdir}/%{name} \ - -DCMAKE_SHARED_LINKER_FLAGS="" -LA + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DCMAKE_SHARED_LINKER_FLAGS="-Wl,-rpath,%{_libdir}/%{name}" \ + -LA %make_build %install