Harald Hoyer d9da66
From 17414dd01bd71bb187fee20c2148ccad3b35a887 Mon Sep 17 00:00:00 2001
Harald Hoyer d9da66
From: Harald Hoyer <harald@hoyer.xyz>
Harald Hoyer d9da66
Date: Tue, 9 Jan 2018 13:24:46 +0100
Harald Hoyer d9da66
Subject: [PATCH] Merge pull request #344 from yuwata/spec-cleanup
Harald Hoyer d9da66
Harald Hoyer d9da66
spec: use if-undefined instead of empty if-defined block
Harald Hoyer d9da66
---
Harald Hoyer d9da66
 dracut.spec | 3 +--
Harald Hoyer d9da66
 1 file changed, 1 insertion(+), 2 deletions(-)
Harald Hoyer d9da66
Harald Hoyer d9da66
diff --git a/dracut.spec b/dracut.spec
Harald Hoyer d9da66
index 0b4c2e85..08e5a098 100644
Harald Hoyer d9da66
--- a/dracut.spec
Harald Hoyer d9da66
+++ b/dracut.spec
Harald Hoyer d9da66
@@ -370,8 +370,7 @@ rm -rf -- $RPM_BUILD_ROOT
Harald Hoyer d9da66
 %{_mandir}/man5/dracut.conf.5*
Harald Hoyer d9da66
 %endif
Harald Hoyer d9da66
 
Harald Hoyer d9da66
-%if %{defined _unitdir}
Harald Hoyer d9da66
-%else
Harald Hoyer d9da66
+%if %{undefined _unitdir}
Harald Hoyer d9da66
 %{dracutlibdir}/modules.d/00bootchart
Harald Hoyer d9da66
 %endif
Harald Hoyer d9da66
 %{dracutlibdir}/modules.d/00bash
Harald Hoyer d9da66