From b4f3d1797734522de9c7759c818b7ffc4905e7f0 Mon Sep 17 00:00:00 2001
From: Cedric Caffy <cedric.caffy@cern.ch>
Date: Mon, 13 Jul 2020 11:12:49 +0200
Subject: [PATCH] Added cta-objectstore-create-missing-repack-index tool to CTA
 RPMs

---
 cta.spec.in                | 1 +
 objectstore/CMakeLists.txt | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/cta.spec.in b/cta.spec.in
index 8b3780dcf6..366d72164a 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 dc7832fd10..a7173f4a10 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)
-- 
GitLab