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 <behlendorf1@llnl.gov>
This commit is contained in:
Brian Behlendorf 2013-03-19 19:25:01 -07:00
parent c0c3d83ccb
commit 68a2e016c8
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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}