summaryrefslogtreecommitdiff
path: root/ceph.spec.in
diff options
context:
space:
mode:
authorGary Lowell <glowell@inktank.com>2012-11-09 13:28:13 -0800
committerSage Weil <sage@inktank.com>2012-12-03 21:42:30 -0800
commitf60c9b6600a85b840a02e145bac77326d60fd03f (patch)
tree4ae5b5c5f978db8a1452d2d1228d072b9528f21f /ceph.spec.in
parent7fbf9476cb44ce256f4bb2366f46fa20cb570eda (diff)
downloadceph-f60c9b6600a85b840a02e145bac77326d60fd03f.tar.gz
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.
Diffstat (limited to 'ceph.spec.in')
-rw-r--r--ceph.spec.in7
1 files changed, 7 insertions, 0 deletions
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
#################################################################################