From 68a2e016c8314caaf149c78f76dfb2ae139ab377 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 19 Mar 2013 19:25:01 -0700 Subject: [PATCH] Add missing dependencies The spl, zfs-test, and zfs-dracut packages should be pulled in by the core zfs package. This allows all the required zfs packages to be installed from a yum repository by running: yum install zfs Signed-off-by: Brian Behlendorf --- rpm/generic/zfs-dkms.spec.in | 2 +- rpm/generic/zfs.spec.in | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/rpm/generic/zfs-dkms.spec.in b/rpm/generic/zfs-dkms.spec.in index 445c390bf..fe053ae0f 100644 --- a/rpm/generic/zfs-dkms.spec.in +++ b/rpm/generic/zfs-dkms.spec.in @@ -15,7 +15,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: dkms >= 2.2.0.2 -Requires: spl-dkms = @VERSION@ +Requires: spl-dkms = %{version} Provides: %{module}-kmod = %{version} Conflicts: %{module}-kmod diff --git a/rpm/generic/zfs.spec.in b/rpm/generic/zfs.spec.in index 05d55d975..e490c4249 100644 --- a/rpm/generic/zfs.spec.in +++ b/rpm/generic/zfs.spec.in @@ -28,6 +28,9 @@ ExclusiveArch: i386 i686 x86_64 # May build but untested on ppc/ppc64 ExcludeArch: ppc ppc64 +Requires: spl = %{version} +Requires: zfs-dracut = %{version} +Requires: zfs-test = %{version} Requires: %{name}-kmod >= %{version} Provides: %{name}-kmod-common = %{version} -- 2.40.0