spec: use if-undefined instead of empty if-defined block

Follow-up for 68cbbae33a.
master
Yu Watanabe 2018-01-09 17:46:16 +09:00
parent ba2cfcab1e
commit 965cacd43a
1 changed files with 1 additions and 2 deletions

View 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