From: Brian Behlendorf Date: Wed, 20 Mar 2013 02:25:01 +0000 (-0700) Subject: Add missing dependencies X-Git-Tag: zfs-0.6.1~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=68a2e016c8314caaf149c78f76dfb2ae139ab377;p=zfs 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 --- 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}