From: Neal Gompa Date: Sun, 7 Jun 2020 06:11:31 +0000 (-0400) Subject: rpm: Add missing CMake parameter to path to systemd unit dir X-Git-Tag: v16.1.0~2091^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7c8e5de9c7825cf9fdb7a9de848c99a2d202c01e;p=ceph.git 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 --- 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 \