diff --git a/systemd.changes b/systemd.changes index f8d24e23..ce963c6e 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 22 08:43:25 UTC 2021 - Franck Bui + +- Update the dependencies of the systemd-testsuite sub-package. + ------------------------------------------------------------------- Mon Nov 15 09:35:08 UTC 2021 - Franck Bui diff --git a/systemd.spec b/systemd.spec index d1a7e15f..613becc4 100644 --- a/systemd.spec +++ b/systemd.spec @@ -518,6 +518,7 @@ Requires: cryptsetup Requires: dosfstools Requires: libcap-progs Requires: lz4 +Requires: make Requires: netcat Requires: qemu-kvm Requires: quota @@ -537,6 +538,9 @@ Requires: systemd-experimental %if %{with journal_remote} Requires: systemd-journal-remote %endif +%if %{with networkd} +Requires: systemd-network +%endif %if %{with portabled} Requires: systemd-portable %endif @@ -897,6 +901,10 @@ rm -f %{buildroot}%{_unitdir}/sockets.target.wants/systemd-journald-audit.socket %if %{with testsuite} cp -a test %{buildroot}%{_testsuitedir}/ +# When the tests are installed, the effective testdata directory is in +# %{_testsuitedir}, the other one, which is actually a symlink, is +# only useful when the tests are run directly from the source. +rm %{buildroot}%{_testsuitedir}/test/testdata # kbd-model-map became a dangling symlink, drop it. rm %{buildroot}%{_testsuitedir}/test/test-keymap-util/kbd-model-map find %{buildroot}%{_testsuitedir}/ -name .git\* -exec rm -fr {} \;