erasure-code: RPM do not package test shared library

Only keep erasure code plugins for packaging and do not include shared
libraries that are only meant to be used in the context of make check.

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
packaging: do not upgrade while daemons are running

Stop the ceph daemons before starting an upgrade. If an old daemon is
running while the new files are installed, it is entirely possible that
it loads new binaries, shared libraries etc. and fail.

http://tracker.ceph.com/issues/9153 Fixes: #9153

Signed-off-by: Loic Dachary <loic-201408@dachary.org>