From: brian Date: Fri, 1 May 2009 19:08:25 +0000 (+0000) Subject: b=13908 X-Git-Tag: v1_9_180~39 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=36bc496616547ab020cd53d7b00ba70e9c7f8567;p=fs%2Flustre-release.git b=13908 i=wangyb i=jack Now that we have tightened up dependencies between lustre-modules and the kernel, we need to drop the -[big]smp from the required kernel version for SLES kernels. --- diff --git a/lustre.spec.in b/lustre.spec.in index 5ebb38f..6722587 100644 --- a/lustre.spec.in +++ b/lustre.spec.in @@ -5,6 +5,8 @@ %{!?lustre_name: %define lustre_name lustre} %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$//'") Summary: Lustre File System Name: %{lustre_name} @@ -25,7 +27,7 @@ Userspace tools and files for the Lustre file system. %package modules Summary: Kernel Lustre modules for Linux %{kversion} -Requires: modutils >= 2.4.10, kernel = %{kversion} +Requires: modutils >= 2.4.10, kernel = %{krequires} Group: Development/Kernel %description modules