Whamcloud - gitweb
Branch b1_8
authoryangsheng <yangsheng>
Thu, 2 Jul 2009 15:36:00 +0000 (15:36 +0000)
committeryangsheng <yangsheng>
Thu, 2 Jul 2009 15:36:00 +0000 (15:36 +0000)
b=19969

Fixed for rpm install dependencies failed.

lustre.spec.in

index 84769fe..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}