On Jan 19, 2012, Holger Macht <hmacht@xxxxxxx> wrote: > Alexandre Oliva <oliva <at> lsd.ic.unicamp.br> writes: >> >> Some post-install rpmbuild defaults byte-compile all packaged python >> files, so don't bother removing the .pyc files, and package .py* to >> get both .pyo and .pyc. It wastes a tiny little bit of space, but it >> makes the spec file portable across a wider range of rpm and python >> configurations. > Just wondering...do you have a concrete issue or an example where this is a > problem? It failed to build on a BLAGified Fedora 16, complaining about the unpackaged .pyc files. It's not just CentOS that creates the .pyc files in brp-python-bytecompile. Plus, they should be packaged (if at all) in python-ceph, but definitely not in the main ceph package. Another issue I forgot while posting the patch was that there was not a .tar.bz2 available from the ceph site. I ended up recompressing the .gz as .bz2, but if ceph is going to be released compressed as .gz, the spec file ought to be adjusted to reflect that. -- Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/ You must be the change you wish to see in the world. -- Gandhi Be Free! -- http://FSFLA.org/ FSF Latin America board member Free Software Evangelist Red Hat Brazil Compiler Engineer -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html