ad54c5
From ec58df436c7ecaa04a9a4a8f72615c59739f890d Mon Sep 17 00:00:00 2001
ad54c5
From: Pavel Valena <pvalena@redhat.com>
ad54c5
Date: Wed, 16 Feb 2022 02:42:11 +0100
ad54c5
Subject: [PATCH] build(spec): do not use recommends for base packages
c2f1e0
ad54c5
rhel-only
ad54c5
Resolves: rhbz#1947892
c2f1e0
---
ad54c5
 pkgbuild/dracut.spec | 11 ++++-------
ad54c5
 1 file changed, 4 insertions(+), 7 deletions(-)
c2f1e0
ad54c5
diff --git a/pkgbuild/dracut.spec b/pkgbuild/dracut.spec
ad54c5
index 71b7421c..38de47b4 100644
ad54c5
--- a/pkgbuild/dracut.spec
ad54c5
+++ b/pkgbuild/dracut.spec
ad54c5
@@ -71,20 +71,17 @@ Requires: kmod
ad54c5
 Requires: sed
ad54c5
 Requires: xz
ad54c5
 Requires: gzip
ad54c5
+Requires: hardlink
ad54c5
+Requires: pigz
ad54c5
+Requires: kpartx
c2f1e0
 
ad54c5
 %if 0%{?fedora} || 0%{?rhel}
ad54c5
-Recommends: memstrack
ad54c5
-Recommends: hardlink
ad54c5
-Recommends: pigz
ad54c5
-Recommends: kpartx
ad54c5
+Suggests: memstrack
ad54c5
 Requires: util-linux >= 2.21
ad54c5
 Requires: systemd >= 219
ad54c5
 Requires: systemd-udev >= 219
ad54c5
 Requires: procps-ng
ad54c5
 %else
ad54c5
-Requires: hardlink
ad54c5
-Requires: gzip
ad54c5
-Requires: kpartx
ad54c5
 Requires: udev > 166
ad54c5
 Requires: util-linux-ng >= 2.21
ad54c5
 %endif
c2f1e0