From c8122d2504e215170b900f955f0fda19ecfe6f04 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 2 Apr 2013 14:37:47 -0700 Subject: 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 --- rpm/generic/zfs-kmod.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpm/generic') 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 -- cgit v1.2.3