diff --git a/cta.spec.in b/cta.spec.in
index 8b3780dcf6d71709917f771d68eb937580afa023..366d72164a0eb1599d51777f30ca848f448d0968 100644
--- a/cta.spec.in
+++ b/cta.spec.in
@@ -303,6 +303,7 @@ Tools allowing initialization and inspection of the object store.
 %attr(0755,root,root) %{_bindir}/cta-objectstore-unfollow-agent
 %attr(0755,root,root) %{_bindir}/cta-objectstore-dereference-removed-queues
 %attr(0755,root,root) %{_bindir}/cta-objectstore-collect-orphaned-object
+%attr(0755,root,root) %{_bindir}/cta-objectstore-create-missing-repack-index
 
 #cta-systemtests installs libraries so we need ldconfig.
 %post -n cta-systemtests -p /sbin/ldconfig
diff --git a/objectstore/CMakeLists.txt b/objectstore/CMakeLists.txt
index dc7832fd10bfb274215c2d6298ba8ad1678db672..a7173f4a10f1fdb341f99f01232f1f1bb09c3987 100644
--- a/objectstore/CMakeLists.txt
+++ b/objectstore/CMakeLists.txt
@@ -163,5 +163,5 @@ target_link_libraries(cta-objectstore-create-missing-repack-index
   ${PROTOBUF3_LIBRARIES} ctaobjectstore ctacommon)
 
 install(TARGETS cta-objectstore-initialize cta-objectstore-list cta-objectstore-dump-object cta-objectstore-unfollow-agent 
-  cta-objectstore-dereference-removed-queues cta-objectstore-collect-orphaned-object
+  cta-objectstore-dereference-removed-queues cta-objectstore-collect-orphaned-object cta-objectstore-create-missing-repack-index
   DESTINATION usr/bin)