Whamcloud - gitweb
b=21632 Kernel update for RHEL5.4 2.6.18-164.11.1.el5.
[fs/lustre-release.git] / lustre.spec.in
index 45a21ff..30fdce8 100644 (file)
@@ -6,7 +6,7 @@
 
 %define is_client %(bash -c "if [[ %{lustre_name} = *-client ]]; then echo -n '1'; else echo -n '0'; fi")
 # for those uses that don't want the -smp/-bigsmp on the end of %kversion
-%define krequires %(bash -c "echo %{kversion} | sed -e 's/-[^0-9]*smp$//'")
+%define krequires %(bash -c "echo %{kversion} | sed -e 's/-smp$//' -e 's/-bigsmp$//' -e 's/-ppc64$//' -e 's/-default$//'")
 
 Summary: Lustre File System
 Name: %{lustre_name}
@@ -250,7 +250,7 @@ if sysctl kernel.unsupported >/dev/null 2>&1 &&
    [ "$(sysctl -n kernel.unsupported 2>/dev/null)" = "0" ] &&
     ! modprobe -c | grep -q "^allow_unsupported_modules[ \t]1" ; then
      echo "
-     warning: the Lustre modules are no supported by Novell. To use Lustre
+     warning: the Lustre modules are not supported by Novell. To use Lustre
               on this system, you should put
 
      allow_unsupported_modules 1