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 <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2022-05-10 10:30:32 -04:00
parent d6c31681cf
commit 1ecbffbea5
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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)