diff --git a/rpm/generic/zfs-kmod.spec.in b/rpm/generic/zfs-kmod.spec.in index 6f478f3fa6..03d4660894 100644 --- a/rpm/generic/zfs-kmod.spec.in +++ b/rpm/generic/zfs-kmod.spec.in @@ -26,7 +26,7 @@ Conflicts: %{module}-dkms %{?suse_version:BuildRequires: kernel-source} %if 0%{?rhel}%{?fedora}%{?suse_version} -BuildRequires: spl-devel-kmod = %{version}-%{release} +BuildRequires: spl-devel-kmod = %{version} %global KmodsBuildRequires spl-devel-kmod %global KmodsRequires kmod-spl %endif