Whamcloud - gitweb
b=22846 debuginfo packages for lustre and ldiskfs
authorBrian J. Murrell <brian.murrell@oracle.com>
Tue, 15 Jun 2010 13:32:17 +0000 (09:32 -0400)
committerJohann Lombardi <johann@sun.com>
Thu, 17 Jun 2010 08:45:34 +0000 (10:45 +0200)
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 b76f6d6..8c24459 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 5b022b9..a7b0d71 100644 (file)
@@ -86,6 +86,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