diff options
author | Gary Lowell <glowell@inktank.com> | 2012-11-09 13:28:13 -0800 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2012-12-03 21:42:30 -0800 |
commit | f60c9b6600a85b840a02e145bac77326d60fd03f (patch) | |
tree | 4ae5b5c5f978db8a1452d2d1228d072b9528f21f | |
parent | 7fbf9476cb44ce256f4bb2366f46fa20cb570eda (diff) | |
download | ceph-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.
-rw-r--r-- | ceph.spec.in | 7 |
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 ################################################################################# |