]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rpm: use system libpmem on Centos 9 Stream 46212/head
authorIlya Dryomov <idryomov@gmail.com>
Thu, 10 Mar 2022 17:32:30 +0000 (18:32 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 10 May 2022 08:46:50 +0000 (10:46 +0200)
commit532ea1c9d5634985cb336e34563ff253248ea61c
tree1e20cb7f51277c64d9a8d62817ae3d9de2a71a4e
parent068d62ae563c8a544d0099b36ef576550f73cced
rpm: use system libpmem on Centos 9 Stream

We need libpmem 1.10 and Centos 9 Stream has it.  On top of sticking
to distro-provided packages being generally a good thing, this fixes
a build failure: libpmem 1.10 doesn't build with LTO which is enabled
by default in Centos 9 Stream.  The distro package works around it.

libpmem 1.10 is also there in Fedora 34 and Fedora 35.

Fixes: https://tracker.ceph.com/issues/54473
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 09440364731b35d5b47922a196df173d306e11dc)
ceph.spec.in