From: Gary Lowell Date: Thu, 22 Aug 2013 18:07:16 +0000 (-0700) Subject: ceph.spec.in: Don't invoke debug_package macro on centos. X-Git-Tag: v0.68~8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b03f24173b51a9c4d9fae706b42c69f8db1d7c62;p=ceph.git ceph.spec.in: Don't invoke debug_package macro on centos. If the redhat-rpm-config package is installed, the debuginfo rpms will be built by default. The build will fail when the package installed and the specfile also invokes the macro. Signed-off-by: Gary Lowell --- diff --git a/ceph.spec.in b/ceph.spec.in index 82c9d0739802..7e402e345ab3 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -249,7 +249,7 @@ BuildRequires: junit %description -n cephfs-java This package contains the Java libraries for the Ceph File System. -%if (0%{?centos} || 0%{?opensuse} || 0%{?suse_version}) +%if 0%{?opensuse} || 0%{?suse_version}) %debug_package %endif