%krequires is not in the lustre.spec.in anymore after it was
removed due to being redundant (and unused) after bug 22281 was
landed.
Signed-off-by: Brian J. Murrell <brian@whamcloud.com>
Change-Id: If27667f66e4b4d44845fb70d375699fead7da7e0
Reviewed-on: http://review.whamcloud.com/489
Reviewed-by: Richard Henwood <rhenwood@whamcloud.com>
Tested-by: Richard Henwood <rhenwood@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Hudson
Requires: kernel-%{flavor}
%else
%if %{_vendor}=="redhat" || %{_vendor}=="fedora"
-# for RHEL we need to require the specific kernel still since weak-modules support on RH
-# is, well, weak, to be punny about it
-Requires: kernel = %{krequires}
+# for RHEL we need to require the specific kernel still since weak-modules
+# support on RH is, well, weak, to be punny about it
+Requires: kernel = %{kversion}
%endif
%endif
%if ! %{is_client}