summaryrefslogtreecommitdiffstats
path: root/rpm
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2013-04-02 14:37:47 -0700
committerBrian Behlendorf <[email protected]>2013-04-02 16:05:45 -0700
commitc8122d2504e215170b900f955f0fda19ecfe6f04 (patch)
tree3785297a80f3ebf7f60264cdf36ed98d4a98bff6 /rpm
parent5b5a65b02225e6281b42b12a4d87bb210334b714 (diff)
Only require spl-devel-kmod = %{version}
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 <[email protected]>
Diffstat (limited to 'rpm')
-rw-r--r--rpm/generic/zfs-kmod.spec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpm/generic/zfs-kmod.spec.in b/rpm/generic/zfs-kmod.spec.in
index 6f478f3fa..03d466089 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