From 1ecbffbea5d6af96be4b360cd30332779e793efc Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Tue, 10 May 2022 10:30:32 -0400 Subject: [PATCH] pybind/mgr: include object_format.py in CMakeLists.txt for build Because ceph uses CMake for building python packages too. Signed-off-by: John Mulligan --- ceph.spec.in | 1 + src/pybind/mgr/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ceph.spec.in b/ceph.spec.in index 3042d6e0dc9..5e32c4ce4c3 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -1738,6 +1738,7 @@ fi %dir %{_datadir}/ceph/mgr %{_datadir}/ceph/mgr/mgr_module.* %{_datadir}/ceph/mgr/mgr_util.* +%{_datadir}/ceph/mgr/object_format.* %{_unitdir}/ceph-mgr@.service %{_unitdir}/ceph-mgr.target %attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/mgr diff --git a/src/pybind/mgr/CMakeLists.txt b/src/pybind/mgr/CMakeLists.txt index 4580ee2b7a7..54aa9142028 100644 --- a/src/pybind/mgr/CMakeLists.txt +++ b/src/pybind/mgr/CMakeLists.txt @@ -58,5 +58,5 @@ set(mgr_modules install(DIRECTORY ${mgr_modules} DESTINATION ${CEPH_INSTALL_DATADIR}/mgr ${mgr_module_install_excludes}) -install(FILES mgr_module.py mgr_util.py +install(FILES mgr_module.py mgr_util.py object_format.py DESTINATION ${CEPH_INSTALL_DATADIR}/mgr)