X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre.spec.in;h=ee608003f58889b321345526dbc75e4d0b012b00;hp=d574bcdaf907b708b1888330bc68ea370fcaa27e;hb=8861ce8829752d29ef6afd49b5e046f306d93b5e;hpb=a6e094fa87542e13265fd5a97a06d56b61313c98 diff --git a/lustre.spec.in b/lustre.spec.in index d574bcd..ee60800 100644 --- a/lustre.spec.in +++ b/lustre.spec.in @@ -67,10 +67,19 @@ Userspace tools and files for the Lustre file system. %package modules Summary: Kernel Lustre modules for Linux %{kversion} -# for RHEL5 and SLES11, we need nothing here +# for SLES11, we need nothing here # for SLES10, we need (where %{flavor} is, i.e. smp): %if %sles10 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 = %{kversion} +%endif +%endif +%if ! %{is_client} +Requires: lustre-backend-fs %endif Group: Development/Kernel