From: Thomas Mueller <thomas@chaschperli.ch>
To: ceph-devel@vger.kernel.org
Subject: PATCH V2: ceph.spec.in - make -j and unpackaged files
Date: Mon, 5 Jul 2010 07:10:01 +0000 (UTC) [thread overview]
Message-ID: <i0s0g8$oc2$1@dough.gmane.org> (raw)
hi
please ignore the other old patch. I missed one file
(libcls_rbd.so in devel) and removed the "--without-debug"
* now that make -j<numprocs> works out of the box, add it to the spec
* added new unpackaged files
* the test binaries get installed with "--without-debug". omitting
"--without-debug" fixes the problem.
diff --git a/ceph.spec.in b/ceph.spec.in
index ca15094..9551598 100644
--- a/ceph.spec.in
+++ b/ceph.spec.in
@@ -40,8 +40,8 @@ This package contains the headers needed to develop programs that use Ceph.
%build
./autogen.sh
-%{configure} --without-hadoop --without-debug
-make CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"
+%{configure} --without-hadoop
+make -j$(getconf _NPROCESSORS_ONLN) CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
@@ -75,6 +75,8 @@ fi
%doc README COPYING
%{_bindir}/ceph
%{_bindir}/cconf
+%{_bindir}/cclass
+%{_bindir}/cclsinfo
%{_bindir}/crushtool
%{_bindir}/monmaptool
%{_bindir}/osdmaptool
@@ -85,11 +87,13 @@ fi
%{_bindir}/cmds
%{_bindir}/cosd
%{_bindir}/rados
+%{_bindir}/radosacl
%{_bindir}/rbdtool
%{_initrddir}/ceph
%{_libdir}/libceph.so.*
%{_libdir}/libcrush.so.*
%{_libdir}/librados.so.*
+%{_libdir}/libcls_rbd.so.*
%{_sbindir}/mkcephfs
/sbin/mount.ceph
%{_libdir}/ceph
@@ -112,6 +116,9 @@ fi
%{_mandir}/man8/rados.8*
%{_mandir}/man8/rbdtool.8*
%{_mandir}/man8/cauthtool.8*
+%{_mandir}/man8/cclass.8.gz
+%{_mandir}/man8/cclsinfo.8.gz
+
%files fuse
%defattr(-,root,root,-)
@@ -138,6 +145,7 @@ fi
%{_libdir}/libceph.so
%{_libdir}/libcrush.so
%{_libdir}/librados.so
+%{_libdir}/libcls_rbd.so
%changelog
* Fri Apr 30 2010 Sage Weil <sage@newdream.net> 0.19.1-5
reply other threads:[~2010-07-05 7:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='i0s0g8$oc2$1@dough.gmane.org' \
--to=thomas@chaschperli.ch \
--cc=ceph-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox