diff options
-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} |