]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
spec: use if-undefined instead of empty if-defined block 344/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 9 Jan 2018 08:46:16 +0000 (17:46 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 9 Jan 2018 08:47:03 +0000 (17:47 +0900)
Follow-up for 68cbbae33adc65452ee234940f668151f65cc043.

dracut.spec

index 0b4c2e8511948e29ea8b20db67efb7b8a7a206b0..08e5a09856ebb4043e4476f6966fbefbd9f83c7e 100644 (file)
@@ -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