Only BuildRequires libsoup-devel when building 4.0 API

ELN and RHEL 10 are not building the 4.0 API, in which case we should
not need libsoup (2.y) even in the buildroot.
This commit is contained in:
Yaakov Selkowitz 2023-07-11 22:24:11 -04:00
parent 7eeeb66a4d
commit 3fae8fa930

View File

@ -89,7 +89,9 @@ BuildRequires: pkgconfig(libopenjp2)
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(libseccomp)
BuildRequires: pkgconfig(libsecret-1)
%if %{with api40}
BuildRequires: pkgconfig(libsoup-2.4)
%endif
BuildRequires: pkgconfig(libsoup-3.0)
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(libtasn1)