From 049abc90cb36e074b8e01ac20618b10bb13cd8e0 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Tue, 11 Jul 2023 23:03:44 -0400 Subject: [PATCH] Default to libsoup3 The soup elements dynamically load either version of libsoup, and therefore do not link to either. However, the -devel packages are still used for the tests. --- gstreamer1-plugins-good.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gstreamer1-plugins-good.spec b/gstreamer1-plugins-good.spec index af4f7d6..4e49fb1 100644 --- a/gstreamer1-plugins-good.spec +++ b/gstreamer1-plugins-good.spec @@ -61,7 +61,7 @@ BuildRequires: gdk-pixbuf2-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel >= 1.2.0 BuildRequires: libshout-devel -BuildRequires: libsoup-devel +BuildRequires: libsoup3-devel BuildRequires: libX11-devel BuildRequires: libXext-devel BuildRequires: libXdamage-devel @@ -97,6 +97,10 @@ BuildRequires: libraw1394-devel %endif %endif +# The soup elements dynamically load either version of libsoup at runtime, +# defaulting to libsoup3 if libsoup2 is not already loaded in the process +Recommends: libsoup3%{?_isa} + # Obsoletes/Provides moved from plugins-bad-free Obsoletes: gstreamer1-plugin-mpg123 < 1.13.1 Provides: gstreamer1-plugin-mpg123 = %{version}-%{release}