spec: fix feature macro typo
authorINSUN PYO <insun.pyo@samsung.com>
Tue, 22 Sep 2020 11:33:59 +0000 (20:33 +0900)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Wed, 20 Mar 2024 21:07:24 +0000 (22:07 +0100)
Change-Id: Ifccdcf1561a32d04526d8ccf8ea76586b5a1c85c

packaging/systemd.spec

index a875741..015b04d 100644 (file)
@@ -172,7 +172,7 @@ cp %{SOURCE8} .
 %if ! %{?WITH_VIRT}
        -Dvirt=false \
 %endif
-%if ! %{WITH_RANDOMSEED}
+%if ! %{?WITH_RANDOMSEED}
        -Drandomseed=false \
 %endif
 %if ! %{?WITH_COREDUMP}
@@ -184,7 +184,7 @@ cp %{SOURCE8} .
 %if ! %{?WITH_TIMEDATED}
        -Dtimedated=false \
 %endif
-%if ! %{WITH_RFKILL}
+%if ! %{?WITH_RFKILL}
        -Drfkill=false \
 %endif
        -Defi=false \
@@ -383,7 +383,7 @@ install -m 0644 %{SOURCE6} %{buildroot}%{dbuspolicydir}/system.d/org.tizen.syste
 
 %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 || :