]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rpm: unconditionally package rbd-replay-prep(8) 4865/head
authorKen Dreyer <kdreyer@redhat.com>
Wed, 26 Nov 2014 23:49:53 +0000 (16:49 -0700)
committerLoic Dachary <ldachary@redhat.com>
Fri, 5 Jun 2015 06:22:18 +0000 (08:22 +0200)
commitd2e7ef549b7203f8f98b3f455cd6dcd2ab6123d8
tree926e83c1c88fa0bd9132ffc4c4bdc0bbddb9bab4
parent7655906d8d7dd8f1ce4cc36f69d197655a13f4b0
rpm: unconditionally package rbd-replay-prep(8)

The build system will conditionally build and install the
rbd-replay-prep utility based on the presence of lttng.

Commit 230c5b8e7f58e2e8be32c3f31c6abcc5bdabc5ca adjusted the RPM
packaging so that we only package and ship the rbd-replay-prep utility
and its man page when we're on a platform that has lttng.

The problem is that this is only half-correct. The build system
unconditionally installs the man page for rbd-replay-prep, regardless of
whether lttng was present or absent, and (by extension,) without regard
for whether we've built and installed the rbd-replay-prep binary or not.

We have two options: either the build system should be adjusted to
conditionally skip installing rbd-replay-prep(8), or else we should just
adjust the RPM packaging to always ship the man page. This commit does
the latter.

Backport: firefly
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
(cherry picked from commit 6a98dacde1d42f5c599feb53b45c3c5ee8515e51)

Conflicts:
ceph.spec.in
        because rbd-replay-many does not exist in giant
ceph.spec.in