summaryrefslogtreecommitdiffstats
path: root/ceph.spec.in
diff options
context:
space:
mode:
authorNeal Gompa <ngompa13@gmail.com>2020-06-07 08:11:31 +0200
committerNeal Gompa <ngompa13@gmail.com>2020-06-08 18:55:28 +0200
commit7c8e5de9c7825cf9fdb7a9de848c99a2d202c01e (patch)
tree26bb16781194d79466302bcfab2bf6f557b3bfcb /ceph.spec.in
parentMerge pull request #35298 from tspmelo/wip-ng-progressbar (diff)
downloadceph-7c8e5de9c7825cf9fdb7a9de848c99a2d202c01e.tar.xz
ceph-7c8e5de9c7825cf9fdb7a9de848c99a2d202c01e.zip
rpm: Add missing CMake parameter to path to systemd unit dir
This mimics the setting passed to CMake in other package builds, and ensures that systemd units are installed into the right place. Signed-off-by: Neal Gompa <ngompa13@gmail.com>
Diffstat (limited to 'ceph.spec.in')
-rw-r--r--ceph.spec.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/ceph.spec.in b/ceph.spec.in
index cac0947f399..3a393bbceee 100644
--- a/ceph.spec.in
+++ b/ceph.spec.in
@@ -1198,6 +1198,7 @@ ${CMAKE} .. \
-DCMAKE_INSTALL_MANDIR=%{_mandir} \
-DCMAKE_INSTALL_DOCDIR=%{_docdir}/ceph \
-DCMAKE_INSTALL_INCLUDEDIR=%{_includedir} \
+ -DCMAKE_INSTALL_SYSTEMD_SERVICEDIR=%{_unitdir} \
-DWITH_MANPAGE=ON \
-DWITH_PYTHON3=%{python3_version} \
-DWITH_MGR_DASHBOARD_FRONTEND=OFF \