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