All of lore.kernel.org
 help / color / mirror / Atom feed
* RPM issues
@ 2011-03-19  0:29 Colin McCabe
  2011-03-19 13:08 ` Ruben Kerkhof
  2011-03-21 16:09 ` Tommi Virtanen
  0 siblings, 2 replies; 8+ messages in thread
From: Colin McCabe @ 2011-03-19  0:29 UTC (permalink / raw)
  To: Brian Chrisman, Terrance Hutchinson, Jim Schutt, ceph-devel

Hi all,

 We have made some progress recently on getting a Ceph RPM that works
on CentOS 5.5 and other Red Hat-derived distros.

Now that our version number no longer includes a tilde, and the spec
file has been pruned a bit, I think we have a shot at building this
cleanly.

I just have a few questions that perhaps people more experienced with
RPM packaging can answer:

1. should we have a debug SPEC file and a regular SPEC file? I think
in the long term we want to have both a Ceph and a Ceph-devel RPM
built.

2. What is the best way to bundle the python bindings? Currently I am
getting this error when building the RPM:
> error: Installed (but unpackaged) file(s) found:
> /usr/lib/python2.4/site-packages/rados.py
> /usr/lib/python2.4/site-packages/rados.pyc
> /usr/lib/python2.4/site-packages/rados.pyo
However, I need to find an RPM variable that has a path to the python
site-packages directory. automake knows this, but so far I haven't
figured out where this information lives in RPM.

This guy suggests a workaround:
http://www.linux-archive.org/centos/171366-python-sybase-centos-5-x86_64-a.html
But his workaround seems kind of clumsy, and in fact doesn't work for
me on CentOS 5.5. Surely there is a standard way to refer to the
sit-packages directory in RPM without hacks?

3. How should we handle tcmalloc, if at all? Google-perftools is not
bundled for 64 bit on CentOS. (It seems like this decision was made
because some of the stuff in this package is buggy on 64 bit x86.
However, tcmalloc itself is not buggy on 64 bit.). And in general, how
do we handle things that are "good to have" but which shouldn't be
dependencies?

cheers,
Colin

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-03-21 23:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-19  0:29 RPM issues Colin McCabe
2011-03-19 13:08 ` Ruben Kerkhof
2011-03-21 23:52   ` Colin McCabe
2011-03-21 16:09 ` Tommi Virtanen
2011-03-21 16:22   ` Colin McCabe
2011-03-21 16:31     ` Gregory Farnum
2011-03-21 16:32     ` Sage Weil
2011-03-21 17:14       ` Tommi Virtanen

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.