fix rev 1529: the devel packages are really needed by the testsuite script to install the dlopened libs into the image

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1532
This commit is contained in:
Franck Bui 2024-06-18 13:52:17 +00:00 committed by Git OBS Bridge
parent ca8e7f54ce
commit 12c1190a79
2 changed files with 13 additions and 13 deletions

View File

@ -1,7 +1,7 @@
-------------------------------------------------------------------
Tue Jun 18 13:20:26 UTC 2024 - Franck Bui <fbui@suse.com>
- systemd.spec: move a misplaced %endif in the testsuite sub-package.
- testsuite: move a misplaced %endif
-------------------------------------------------------------------
Tue Jun 18 10:19:19 UTC 2024 - Franck Bui <fbui@suse.com>
@ -11,7 +11,8 @@ Tue Jun 18 10:19:19 UTC 2024 - Franck Bui <fbui@suse.com>
-------------------------------------------------------------------
Tue Jun 18 10:12:01 UTC 2024 - Franck Bui <fbui@suse.com>
- Don't pull the devel packages in when installing the testsuite package.
- testsuite: only require the devel packages when pulling the dlopen'd
dependencies (the libraries are dependencies of the devel packages).
-------------------------------------------------------------------
Thu Jun 6 13:18:29 UTC 2024 - Franck Bui <fbui@suse.com>

View File

@ -612,6 +612,7 @@ Recommends: knot
Recommends: selinux-policy-devel
Recommends: selinux-policy-targeted
%endif
Requires: %{name} = %{version}-%{release}
# System users/groups that some tests rely on.
Requires: group(bin)
Requires: group(daemon)
@ -624,8 +625,12 @@ Requires: user(nobody)
# The following deps on libs are for test-dlopen-so whereas the pkgconfig ones
# are used by test-funtions to find the libs on the host and install them in the
# image, see install_missing_libraries() for details.
Requires: libidn2
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig(libfido2)
Requires: pkgconfig(libidn2)
%if %{with experimental}
Requires: pkgconfig(libqrencode)
Requires: pkgconfig(pwquality)
%endif
Requires: attr
Requires: binutils
Requires: busybox-static
@ -635,15 +640,6 @@ Requires: dosfstools
Requires: iproute2
Requires: jq
Requires: libcap-progs
Requires: libfido2
Requires: pkgconfig(libidn2)
%if %{with experimental}
Requires: libpwquality1
Requires: libqrencode4
%endif
Requires: libtss2-esys0
Requires: libtss2-mu0
Requires: libtss2-rc0
Requires: lz4
Requires: make
Requires: mtools
@ -654,6 +650,9 @@ Requires: quota
Requires: socat
Requires: squashfs
Requires: systemd-container
Requires: pkgconfig(tss2-esys)
Requires: pkgconfig(tss2-mu)
Requires: pkgconfig(tss2-rc)
%if %{with sd_boot}
Requires: systemd-boot
%endif