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