aboutsummaryrefslogtreecommitdiffstats
path: root/spl-modules.spec.in
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-11-24 15:24:36 -0800
committerBrian Behlendorf <[email protected]>2009-11-24 15:24:36 -0800
commitf6ea161924b3fe4166faa1de709fce0049bf4b11 (patch)
tree4be718cfb8ebd9855814cd4f1c97678b4efe091a /spl-modules.spec.in
parentc1541dfef13041f945aa21985249bd24ee5449e0 (diff)
spl-modules-devel package must depend on the exact version of kernel
devel package it was built against.
Diffstat (limited to 'spl-modules.spec.in')
-rw-r--r--spl-modules.spec.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/spl-modules.spec.in b/spl-modules.spec.in
index 56bf74c2d..4f8d47acc 100644
--- a/spl-modules.spec.in
+++ b/spl-modules.spec.in
@@ -155,10 +155,12 @@
%if %{defined build_src_rpm}
%define release @SPL_META_RELEASE@
%define requires %{kpkg}
+%define devel_requires %{kdevpkg}
%else
%define relext %(echo %{kverpkg} | %{__sed} -e 's/-/_/g')
%define release @SPL_META_RELEASE@_%{relext}
%define requires %{kpkg} %{koppkg} %{kverpkg}
+%define devel_requires %{kdevpkg} %{koppkg} %{kverpkg}
%endif
Summary: Solaris Porting Layer Modules
@@ -182,7 +184,7 @@ taskq, thread, time, and vnode APIs.
%package devel
Summary: Solaris Porting Layer Headers and Symbols
Group: Development/Libraries
-Requires: %{requires}
+Requires: %{devel_requires}
BuildRequires: %{kdevpkg}
%description devel