X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre.spec.in;h=2ec793c8fdeaf7fc9897462a79b891f215a01620;hb=cb578b39f53e4426f848d830dc87914e8259c401;hp=6e12b639fe588a835bdec52620bc37d7babf0a6f;hpb=84945c742419d63195bf42a6f194576824687a1f;p=fs%2Flustre-release.git diff --git a/lustre.spec.in b/lustre.spec.in index 6e12b63..2ec793c 100644 --- a/lustre.spec.in +++ b/lustre.spec.in @@ -5,12 +5,25 @@ %{!?lustre_name: %define lustre_name lustre} %{!?build_lustre_tests: %define build_lustre_tests 1} -# on RHEL5, we need to disable the internal dependency generator and let -# the external one be used as it can deal with providing Provides: tags -# for kernel modules -# on SLES10, /usr/lib/rpm/macros already sets this, so no harm (until Suse -# changes their mind) -%global _use_internal_dependency_generator 0 +# in order to get kernel symset and/or kernel module dependencies into +# the RPM, in order to support weak-modules, the internal dependency gen- +# erator needs to be disabled +# this is done with (reduce the double % down to a single %): +# +# %%global _use_internal_dependency_generator 0 +# +# on SLES10, /usr/lib/rpm/macros already sets this, so no harm in also +# defining it here (until Suse changes their mind) +# +# on RHEL5, however, we do need to explicitly disable the internal dep- +# endency generator and allow the external one be used +# but since RedHat's kABI is only a subset of the total kernel ABI, it +# doesn't include all of the symbols we (or OFED for that matter) need +# until RedHat includes all of the symbols we need in their symsets we +# cannot support weak-modules +# we did e-mail the maintainer of all of this stuff @redhat but got no +# response from them +#%%global _use_internal_dependency_generator 0 %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 @@ -103,6 +116,9 @@ Requires: %{name} = %{version}, %{name}-modules = %{version} This package contains a set of test binaries and scripts that are intended to be used by the Lustre testing framework. +%if 0%{?suse_version} +%debug_package +%endif %prep %setup -qn lustre-%{version} ln lustre/ChangeLog ChangeLog-lustre