Blame 0006-dracut.spec-turn-requires-in-recommends.patch

Harald Hoyer 0840a3
From c42064a684f3413dfce249c5bd6ebe0cb0a16908 Mon Sep 17 00:00:00 2001
Harald Hoyer 0840a3
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 0840a3
Date: Tue, 23 Jun 2015 15:29:00 +0200
Harald Hoyer 0840a3
Subject: [PATCH] dracut.spec: turn requires in recommends
Harald Hoyer 0840a3
Harald Hoyer 0840a3
---
Harald Hoyer 0840a3
 dracut.spec | 18 ++++++++++++------
Harald Hoyer 0840a3
 1 file changed, 12 insertions(+), 6 deletions(-)
Harald Hoyer 0840a3
Harald Hoyer 0840a3
diff --git a/dracut.spec b/dracut.spec
Harald Hoyer 0840a3
index 7a1a9c2..4775210 100644
Harald Hoyer 0840a3
--- a/dracut.spec
Harald Hoyer 0840a3
+++ b/dracut.spec
Harald Hoyer 0840a3
@@ -92,11 +92,21 @@ Requires: cpio
Harald Hoyer 0840a3
 Requires: filesystem >= 2.1.0
Harald Hoyer 0840a3
 Requires: findutils
Harald Hoyer 0840a3
 Requires: grep
Harald Hoyer 0840a3
-Requires: hardlink
Harald Hoyer 0840a3
-Requires: gzip xz
Harald Hoyer 0840a3
 Requires: kmod
Harald Hoyer 0840a3
 Requires: sed
Harald Hoyer 0840a3
+
Harald Hoyer 0840a3
+%if 0%{?fedora} > 22
Harald Hoyer 0840a3
+Recommends: grubby
Harald Hoyer 0840a3
+Recommends: hardlink
Harald Hoyer 0840a3
+Recommends: gzip
Harald Hoyer 0840a3
+Recommends: xz
Harald Hoyer 0840a3
+Recommends: kpartx
Harald Hoyer 0840a3
+%else
Harald Hoyer 0840a3
+Requires: hardlink
Harald Hoyer 0840a3
+Requires: gzip
Harald Hoyer 0840a3
+Requires: xz
Harald Hoyer 0840a3
 Requires: kpartx
Harald Hoyer 0840a3
+%endif
Harald Hoyer 0840a3
 
Harald Hoyer 0840a3
 %if 0%{?fedora} || 0%{?rhel} > 6
Harald Hoyer 0840a3
 Requires: util-linux >= 2.21
Harald Hoyer 0840a3
@@ -113,10 +123,6 @@ Requires: util-linux-ng >= 2.21
Harald Hoyer 0840a3
 
Harald Hoyer 0840a3
 Conflicts: mdadm < 3.2.6-14
Harald Hoyer 0840a3
 
Harald Hoyer 0840a3
-%if 0%{?fedora} > 22
Harald Hoyer 0840a3
-Recommends: grubby
Harald Hoyer 0840a3
-%endif
Harald Hoyer 0840a3
-
Harald Hoyer 0840a3
 %description
Harald Hoyer 0840a3
 dracut contains tools to create a bootable initramfs for 2.6 Linux kernels.
Harald Hoyer 0840a3
 Unlike existing implementations, dracut does hard-code as little as possible