]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind/mgr: include object_format.py in CMakeLists.txt for build
authorJohn Mulligan <jmulligan@redhat.com>
Tue, 10 May 2022 14:30:32 +0000 (10:30 -0400)
committerAdam King <adking@redhat.com>
Sat, 21 May 2022 23:22:30 +0000 (19:22 -0400)
Because ceph uses CMake for building python packages too.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 1ecbffbea5d6af96be4b360cd30332779e793efc)

ceph.spec.in
src/pybind/mgr/CMakeLists.txt

index 02170bae0910ad9b7bcacebdf746db4c710ba7e9..a9f742669f5252b01dc0e665273160598dc6bd4a 100644 (file)
@@ -1725,6 +1725,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
index 4580ee2b7a74a17f6c68cc3e59476c7c27164f68..54aa9142028927b5fd3d0ffa35a6133299f720e9 100644 (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)