From d2b6e31b2d343737fc26d5cdc6d938a64228855f Mon Sep 17 00:00:00 2001
From: Steven Murray <steven.murray@cern.ch>
Date: Tue, 16 Aug 2016 09:43:32 +0200
Subject: [PATCH] Packaged the cta-catalogue-schema-lock man page

---
 catalogue/CMakeLists.txt                | 1 +
 catalogue/cta-catalogue-schema-lock.man | 2 +-
 cta.spec.in                             | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/catalogue/CMakeLists.txt b/catalogue/CMakeLists.txt
index 12e6c84766..34dde560a9 100644
--- a/catalogue/CMakeLists.txt
+++ b/catalogue/CMakeLists.txt
@@ -105,3 +105,4 @@ target_link_libraries (cta-catalogue-schema-lock
   ctacatalogue)
 
 install(TARGETS cta-catalogue-schema-lock DESTINATION /usr/bin)
+CTAInstallExeManPage(cta-catalogue-schema-lock)
diff --git a/catalogue/cta-catalogue-schema-lock.man b/catalogue/cta-catalogue-schema-lock.man
index 2e03939002..cec88773a1 100644
--- a/catalogue/cta-catalogue-schema-lock.man
+++ b/catalogue/cta-catalogue-schema-lock.man
@@ -13,7 +13,7 @@
 .\"
 .\" You should have received a copy of the GNU General Public License
 .\" along with this program.  If not, see <http://www.gnu.org/licenses/>.
-.TH CTA-CATALOGUE-SCHEMA-LOCK "8cta" "$Date: 2014/03/24 14:44:00 $" CTA "CTA"
+.TH CTA-CATALOGUE-SCHEMA-LOCK 1CTA "August 2016" CTA "CTA"
 .SH NAME
 cta-catalogue-schema-lock \- Lock the CTA catalogue schema
 .SH SYNOPSIS
diff --git a/cta.spec.in b/cta.spec.in
index 7f31269714..d291c9aa7b 100644
--- a/cta.spec.in
+++ b/cta.spec.in
@@ -213,3 +213,4 @@ CERN Tape Archive:
 Scripts and utilities to faciliate working with the CTA catalogue
 %files -n cta-catalogueutils
 %attr(0755,root,root) %{_bindir}/cta-catalogue-schema-lock
+%attr(0644,root,bin) %doc /usr/share/man/man1/cta-catalogue-schema-lock.1cta.gz
-- 
GitLab