]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph.spec.in: build with header only fmt on RHEL 42472/head
authorKefu Chai <kchai@redhat.com>
Fri, 23 Jul 2021 10:02:36 +0000 (18:02 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 24 Jul 2021 05:50:33 +0000 (13:50 +0800)
commit553ed460592a3896054c76d72e4c345b90377d8a
tree9e5499aa6be21bcd0e9454faa1a5ec0afada7dd1
parent06bd71cfee135ee59280bb0e3f2d9318d6dca988
ceph.spec.in: build with header only fmt on RHEL

because fmt is packaged in EPEL, while librados is packaged
in RHEL, so we cannot have fmt as a runtime dependency of librados.
to address this issue, we should compile librados either with static library
or with header-only library of fmt. but because the fedora packaging
guideline does no encourage us to package static libraries, and it would
be complicated to package both static and dynamic library for fmt.

the simpler solution would be to compile Ceph with the header-only
version of fmt.

in this change, we compile ceph with the header-only version of fmt
on RHEL to address the runtime dependency issue.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 5419131499f4c4b5f6ba520342c39f9766e0cf4d)

Conflicts:
ceph.spec.in: trivial resolution
ceph.spec.in