summaryrefslogtreecommitdiffstats
path: root/rpm
diff options
context:
space:
mode:
authorgordan-bobic <[email protected]>2019-06-23 00:47:19 +0100
committerBrian Behlendorf <[email protected]>2019-06-22 16:47:18 -0700
commitca4e5a785f844eaace4bf80cb70a3a02f1b587f6 (patch)
treee6299c3973f304f33625d57bc9de7c08ebc45868 /rpm
parent8b14cb46bf0bd8be08ab11686ae5b87d74433c52 (diff)
Remove arch and relax version dependency
Remove arch and relax version dependency for zfs-dracut package. Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Gordan Bobic <[email protected]> Issue #8913 Closes #8914
Diffstat (limited to 'rpm')
-rw-r--r--rpm/generic/zfs.spec.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpm/generic/zfs.spec.in b/rpm/generic/zfs.spec.in
index 9faa3ba77..0b16cd0e8 100644
--- a/rpm/generic/zfs.spec.in
+++ b/rpm/generic/zfs.spec.in
@@ -255,7 +255,8 @@ validating the file system.
%package dracut
Summary: Dracut module
Group: System Environment/Kernel
-Requires: %{name}%{?_isa} = %{version}-%{release}
+BuildArch: noarch
+Requires: %{name} >= %{version}
Requires: dracut
Requires: /usr/bin/awk
Requires: grep