From: Brian J. Murrell Date: Thu, 19 Aug 2010 21:34:13 +0000 (+0400) Subject: b=22846 debuginfo packages for lustre and ldiskfs X-Git-Tag: 2.0.51.0~30 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=19a49baf5025c14626e5d494b7ada610c2862504 b=22846 debuginfo packages for lustre and ldiskfs With our current .spec files for lustre and ldiskfs, debuginfo packages are not produced. It seems that while other distros do this implicitly, SLES needs to be told to do so explicitly. i=mjmac i=wangyb --- diff --git a/ldiskfs/lustre-ldiskfs.spec.in b/ldiskfs/lustre-ldiskfs.spec.in index 35a7c24..fe0e7fa 100644 --- a/ldiskfs/lustre-ldiskfs.spec.in +++ b/ldiskfs/lustre-ldiskfs.spec.in @@ -16,6 +16,9 @@ Requires: modutils >= 2.4.10 Provides the ldiskfs backend file system kernel module, used by servers in the Lustre file system, for Linux %{kversion}. +%if 0%{?suse_version} +%debug_package +%endif %prep %setup -q diff --git a/lustre.spec.in b/lustre.spec.in index c9df4b5..b0c9adf 100644 --- a/lustre.spec.in +++ b/lustre.spec.in @@ -116,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