From 965cacd43a27e8e1bdc81ece94b7a27274f574f9 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Tue, 9 Jan 2018 17:46:16 +0900 Subject: [PATCH] spec: use if-undefined instead of empty if-defined block Follow-up for 68cbbae33adc65452ee234940f668151f65cc043. --- dracut.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dracut.spec b/dracut.spec index 0b4c2e85..08e5a098 100644 --- a/dracut.spec +++ b/dracut.spec @@ -370,8 +370,7 @@ rm -rf -- $RPM_BUILD_ROOT %{_mandir}/man5/dracut.conf.5* %endif -%if %{defined _unitdir} -%else +%if %{undefined _unitdir} %{dracutlibdir}/modules.d/00bootchart %endif %{dracutlibdir}/modules.d/00bash