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.
This commit is contained in:
Gary Lowell 2012-11-09 13:28:13 -08:00
parent de2cd18c3d
commit 1c9ec26eea

View 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
#################################################################################