Whamcloud - gitweb
b=22846 debuginfo packages for lustre and ldiskfs
authorBrian J. Murrell <brian.murrell@oracle.com>
Thu, 19 Aug 2010 21:34:13 +0000 (01:34 +0400)
committerMikhail Pershin <tappro@sun.com>
Thu, 26 Aug 2010 13:51:50 +0000 (17:51 +0400)
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

ldiskfs/lustre-ldiskfs.spec.in
lustre.spec.in

index 35a7c24..fe0e7fa 100644 (file)
@@ -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
 
index c9df4b5..b0c9adf 100644 (file)
@@ -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