From patchwork Tue Oct 12 21:36:01 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Brunner X-Patchwork-Id: 248911 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o9CJXVgA016151 for ; Tue, 12 Oct 2010 19:33:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754681Ab0JLTda (ORCPT ); Tue, 12 Oct 2010 15:33:30 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:39131 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754633Ab0JLTd3 (ORCPT ); Tue, 12 Oct 2010 15:33:29 -0400 Received: by bwz15 with SMTP id 15so2673400bwz.19 for ; Tue, 12 Oct 2010 12:33:28 -0700 (PDT) Received: by 10.204.79.81 with SMTP id o17mr6711658bkk.103.1286912007930; Tue, 12 Oct 2010 12:33:27 -0700 (PDT) Received: from dell.home (e181024089.adsl.alicedsl.de [85.181.24.89]) by mx.google.com with ESMTPS id p34sm5068951bkf.3.2010.10.12.12.33.26 (version=SSLv3 cipher=RC4-MD5); Tue, 12 Oct 2010 12:33:27 -0700 (PDT) Date: Tue, 12 Oct 2010 23:36:01 +0200 From: Christian Brunner To: ceph-devel@vger.kernel.org Subject: [PATCH] ceph.spec.in: avoid striping libcls_rbd.so Message-ID: <20101012213600.GA1989@dell.home> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-12-10) Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 12 Oct 2010 19:33:32 +0000 (UTC) diff --git a/ceph.spec.in b/ceph.spec.in index c92ff9d..ab91f7b 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -75,6 +75,11 @@ mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/ceph/tmp/ mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/ceph/ mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/ceph/stat +# To avoid that libcls_rbd.so.1.0.0 is beeing stiped by find-debuginfo.sh +# we petend that the debug symbols have already been extracted +mkdir -p $RPM_BUILD_ROOT/usr/lib/debug/%{_libdir}/rados-classes/ +touch $RPM_BUILD_ROOT/usr/lib/debug/%{_libdir}/rados-classes/libcls_rbd.so.1.0.0.debug + %clean rm -rf $RPM_BUILD_ROOT