All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Mueller <thomas@chaschperli.ch>
To: ceph-devel@vger.kernel.org
Subject: PATCH: ceph.spec.in
Date: Fri, 2 Jul 2010 08:13:38 +0000 (UTC)	[thread overview]
Message-ID: <i0k73i$g5f$2@dough.gmane.org> (raw)

hi

encountered following errors building an rpm package with the 
ceph.spec.in:

RPM build errors:
    File not found: /var/tmp/ceph-0.21~rc-4el5.elefant-root-mockbuild/usr/
bin/mkmonfs
    File must begin with "/": %{_initddir}/ceph
    Installed (but unpackaged) file(s) found:
   /usr/bin/dumpjournal
   /usr/bin/dupstore
   /usr/bin/psim
   /usr/bin/radosacl
   /usr/bin/streamtest
   /usr/bin/test_ioctls
   /usr/bin/test_trans
   /usr/bin/testceph
   /usr/bin/testcrypto
   /usr/bin/testkeys
   /usr/bin/testmsgr
   /usr/bin/testrados
   /usr/bin/testradospp


* mkmonfs - vanished. isn't it used anymore? if so, the man/mkmonfs.8 can 
also be removed
* initddir can be ignored as it is centos/rhel specific (it's called 
"initrddir")
* added the unpackaged files
* added CXXFLAGS to make

- Thomas

--- ceph.spec.in.orig	2010-07-02 09:05:59.000000000 +0200
+++ ceph.spec.in	2010-07-02 10:12:54.000000000 +0200
@@ -41,7 +41,7 @@
 %build
 ./autogen.sh
 %{configure} --without-hadoop --without-debug
-make CFLAGS="$RPM_OPT_FLAGS"
+make CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -84,9 +84,14 @@
 %{_bindir}/cmon
 %{_bindir}/cmds
 %{_bindir}/cosd
-%{_bindir}/mkmonfs
 %{_bindir}/rados
 %{_bindir}/rbdtool
+%{_bindir}/test*
+%{_bindir}/dumpjournal
+%{_bindir}/dupstore
+%{_bindir}/psim
+%{_bindir}/radosacl
+%{_bindir}/streamtest
 %{_initddir}/ceph
 %{_libdir}/libceph.so.*
 %{_libdir}/libcrush.so.*



             reply	other threads:[~2010-07-02  8:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-02  8:13 Thomas Mueller [this message]
2010-07-02 15:04 ` PATCH: ceph.spec.in Sage Weil
2010-07-02 19:42   ` Thomas Mueller
2010-07-02 19:45     ` Thomas Mueller
2010-07-02 22:22       ` Sage Weil

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='i0k73i$g5f$2@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.