]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: Build debuginfo subpackage.
authorGary Lowell <glowell@inktank.com>
Fri, 9 Nov 2012 21:28:13 +0000 (13:28 -0800)
committerSage Weil <sage@inktank.com>
Tue, 4 Dec 2012 05:42:30 +0000 (21:42 -0800)
This is a partial fix for bug 3471.  Enable building of debuginfo package.
Some distributions enable this automatically by installing additional rpm
macros, on others it needs to be explicity added to the spec file.

ceph.spec.in

index 57ccdb2250d9fadb4c6a6cd91cbd673e47165164..384f1f745585fe012bf79c7c9d0a48b2b8871b85 100644 (file)
@@ -176,6 +176,13 @@ Requires:  libcephfs1 = %{version}-%{release}
 This package contains Python libraries for interacting with Cephs RADOS
 object storage.
 
+# Enable building of debug package on distributions that don't automatically
+# build it.
+
+%if (0%{?fedora} || 0%{?centos} || 0%{?opensuse})
+%debug_package
+%endif
+
 #################################################################################
 # common
 #################################################################################