Skip to content

Commit

Permalink
spl-modules-devel package must depend on the exact version of kernel
Browse files Browse the repository at this point in the history
devel package it was built against.
  • Loading branch information
behlendorf committed Nov 24, 2009
1 parent c1541df commit f6ea161
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spl-modules.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f6ea161

Please sign in to comment.