diff --git a/systemd.spec b/systemd.spec index 6767a07..955c923 100644 --- a/systemd.spec +++ b/systemd.spec @@ -1356,7 +1356,15 @@ machines and in virtual machines, but not in containers. Summary: Tool to build Unified Kernel Images Requires: %{name} = %{version}-%{release} -Requires: systemd-boot +Requires: (systemd-boot if %{shrink:( + filesystem(x86-32) or + filesystem(x86-64) or + filesystem(aarch64) or + filesystem(riscv64) +)}) +%if 0%{?fedora} +Requires: python3dist(zstd) +%endif Requires: python3dist(cryptography) Requires: python3dist(pefile)