]> git.pld-linux.org Git - packages/ceph.git/commitdiff
- correct pmdk dep and actually use that dep
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 3 Apr 2022 11:00:49 +0000 (13:00 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 3 Apr 2022 11:00:49 +0000 (13:00 +0200)
ceph.spec

index f438240f685965e27bc17d3fea62ead2f82fe499..6bd439a9267c1e9a96fcd722e2cc9779542f1548 100644 (file)
--- a/ceph.spec
+++ b/ceph.spec
@@ -112,7 +112,7 @@ BuildRequires:      openldap-devel
 BuildRequires: openssl-devel >= 1.1
 BuildRequires: perl-base
 BuildRequires: pkgconfig
-%{?with_pmem:BuildRequires:    pmdk-devel >= 1.10}
+%{?with_pmem:BuildRequires:    pmdk-devel >= 1.6.1}
 BuildRequires: python3 >= 1:3.2
 BuildRequires: python3-devel >= 1:3.2
 %{?with_tests:BuildRequires:   python3-tox >= 2.9.1}
@@ -327,7 +327,10 @@ cd build
        -DPYTHON=%{__python3} \
        -DSPHINX_BUILD=/usr/bin/sphinx-build \
        %{!?with_babeltrace:-DWITH_BABELTRACE=OFF} \
-       %{?with_pmem:-DWITH_BLUESTORE_PMEM=ON} \
+%if %{with pmem}
+       -DWITH_BLUESTORE_PMEM=ON \
+       -DWITH_SYSTEM_PMDK:BOOL=ON \
+%endif
        %{?with_java:-DWITH_CEPHFS_JAVA=ON} \
        %{?with_java:-DJAVA_HOME:PATH=%{java_home}} \
        %{?with_dpdk:-DWITH_DPDK=ON} \
This page took 0.05394 seconds and 4 git commands to generate.