From f60c9b6600a85b840a02e145bac77326d60fd03f Mon Sep 17 00:00:00 2001 From: Gary Lowell Date: Fri, 9 Nov 2012 13:28:13 -0800 Subject: ceph.spec.in: Build debuginfo subpackage. 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 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ceph.spec.in b/ceph.spec.in index 57ccdb2250d..384f1f74558 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -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 ################################################################################# -- cgit v1.2.1