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* %{_mandir}/man5/dracut.conf.5*
%endif %endif


%if %{defined _unitdir} %if %{undefined _unitdir}
%else
%{dracutlibdir}/modules.d/00bootchart %{dracutlibdir}/modules.d/00bootchart
%endif %endif
%{dracutlibdir}/modules.d/00bash %{dracutlibdir}/modules.d/00bash