]> granicus.if.org Git - spl/commitdiff
spl-modules-devel package must depend on the exact version of kernel spl-0.4.7
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 24 Nov 2009 23:24:36 +0000 (15:24 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 24 Nov 2009 23:24:36 +0000 (15:24 -0800)
devel package it was built against.

spl-modules.spec.in

index 56bf74c2d57f222d647ff0d08bb27c2f3996ce8e..4f8d47acc9a68ddfbd461357a6fb8192bb7a33e5 100644 (file)
 %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