From a08b33ac5df7c5b25a261adea76f5ec3223461d11f18e21dac56ad4220f75241 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Mon, 22 Nov 2021 08:47:06 +0000 Subject: [PATCH] - Update the dependencies of the systemd-testsuite sub-package. OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1212 --- systemd.changes | 5 +++++ systemd.spec | 8 ++++++++ 2 files changed, 13 insertions(+) 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 {} \;