From ea1be8dd5235a506ecd8132ab5f9f2cf95333263 Mon Sep 17 00:00:00 2001 From: INSUN PYO Date: Tue, 22 Sep 2020 20:33:59 +0900 Subject: [PATCH] spec: fix feature macro typo Change-Id: Ifccdcf1561a32d04526d8ccf8ea76586b5a1c85c --- packaging/systemd.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packaging/systemd.spec b/packaging/systemd.spec index a50024a..d6a7fde 100644 --- a/packaging/systemd.spec +++ b/packaging/systemd.spec @@ -174,7 +174,7 @@ cp %{SOURCE9} . %if ! %{?WITH_VIRT} -Dvirt=false \ %endif -%if ! %{WITH_RANDOMSEED} +%if ! %{?WITH_RANDOMSEED} -Drandomseed=false \ %endif %if ! %{?WITH_COREDUMP} @@ -186,7 +186,7 @@ cp %{SOURCE9} . %if ! %{?WITH_TIMEDATED} -Dtimedated=false \ %endif -%if ! %{WITH_RFKILL} +%if ! %{?WITH_RFKILL} -Drfkill=false \ %endif -Defi=false \ @@ -371,7 +371,7 @@ install -m 0644 %{SOURCE7} %{buildroot}%{_sysconfdir}/sysctl.d/ %post /usr/bin/systemd-machine-id-setup > /dev/null 2>&1 || : -%if %{WITH_RANDOMSEED} +%if %{?WITH_RANDOMSEED} /usr/lib/systemd/systemd-random-seed save > /dev/null 2>&1 || : %endif /usr/bin/systemctl daemon-reexec > /dev/null 2>&1 || : -- 2.7.4