diff options
author | Brian Behlendorf <[email protected]> | 2013-03-19 19:25:01 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2013-03-21 12:50:19 -0700 |
commit | 68a2e016c8314caaf149c78f76dfb2ae139ab377 (patch) | |
tree | 82caa2f5718b2ea05011fe9d7615313c25f89417 /rpm/generic | |
parent | c0c3d83ccb3ff89c6183a3f160c05adad5805148 (diff) |
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 <[email protected]>
Diffstat (limited to 'rpm/generic')
-rw-r--r-- | rpm/generic/zfs-dkms.spec.in | 2 | ||||
-rw-r--r-- | rpm/generic/zfs.spec.in | 3 |
2 files changed, 4 insertions, 1 deletions
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} |