* PATCH V2: ceph.spec.in - make -j and unpackaged files
@ 2010-07-05 7:10 Thomas Mueller
0 siblings, 0 replies; only message in thread
From: Thomas Mueller @ 2010-07-05 7:10 UTC (permalink / raw)
To: ceph-devel
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-07-05 7:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-05 7:10 PATCH V2: ceph.spec.in - make -j and unpackaged files Thomas Mueller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).