Only require spl-devel-kmod = %{version}
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 2 Apr 2013 21:37:47 +0000 (14:37 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 2 Apr 2013 23:05:45 +0000 (16:05 -0700)
Commit f6fb7651a0d05b357dc179cc4853263ce15da6ed introduced the idea
of working builds which work correctly.  However, because the zfs-kmod
depends on a specific 'spl-devel-kmod = {version}-%{release}' package
and the release component is unique the dependency is never satisfied.

This requires line was introduced to ensure the correct version of the
spl is always used.  In this context only the version number is required
so the release component has been dropped to satisfy the dependency.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
rpm/generic/zfs-kmod.spec.in

index 6f478f3..03d4660 100644 (file)
@@ -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