Use libsoup3 for tests

Even when using the curl fetcher backend, libsoup is used for tests, but
either version can be used.  libsoup (2.y) is unmaintained, and unwanted
in RHEL 10.
This commit is contained in:
Yaakov Selkowitz 2023-07-11 22:18:22 -04:00
parent acfa02e9d5
commit 686752abb6
1 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,7 @@ BuildRequires: pkgconfig(zlib)
BuildRequires: pkgconfig(libcurl)
BuildRequires: openssl-devel
# The tests still require soup
BuildRequires: pkgconfig(libsoup-2.4)
BuildRequires: pkgconfig(libsoup-3.0)
BuildRequires: libattr-devel
# The tests require attr
BuildRequires: attr
@ -104,6 +104,7 @@ env NOCONFIGURE=1 ./autogen.sh
--enable-gtk-doc \
--with-selinux \
--with-curl \
--with-soup3 \
--with-openssl \
%{?with_tests:--enable-installed-tests=exclusive} \
--with-dracut=yesbutnoconf