]> git.apps.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)
committerGary Lowell <glowell@inktank.com>
Fri, 9 Nov 2012 21:28:13 +0000 (13:28 -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 21ef2211d28fcdf2015827a10d732a2434390edd..c02d50266b3f49160eaca96ffc26935ad9fc5c92 100644 (file)
@@ -166,6 +166,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
 #################################################################################