]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rpm: Add missing CMake parameter to path to systemd unit dir
authorNeal Gompa <ngompa13@gmail.com>
Sun, 7 Jun 2020 06:11:31 +0000 (02:11 -0400)
committerNeal Gompa <ngompa13@gmail.com>
Mon, 8 Jun 2020 16:55:28 +0000 (12:55 -0400)
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>
ceph.spec.in

index cac0947f39987cea85ebc98b21ea46637cced078..3a393bbceee4a5dd7129f22033dcb7d023269f44 100644 (file)
@@ -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 \