From e578392417be098ed3a2bf61fb748f41648bdad8 Mon Sep 17 00:00:00 2001
From: Steven Murray <Steven.Murray@cern.ch>
Date: Mon, 17 Jun 2019 09:49:44 +0200
Subject: [PATCH] Removed unused cta-xrmcd package

---
 XRootdSSiRmcd/CMakeLists.txt | 10 +++++-----
 cta.spec.in                  | 30 ------------------------------
 2 files changed, 5 insertions(+), 35 deletions(-)

diff --git a/XRootdSSiRmcd/CMakeLists.txt b/XRootdSSiRmcd/CMakeLists.txt
index 2f57a02d07..5f1cdb7cc3 100644
--- a/XRootdSSiRmcd/CMakeLists.txt
+++ b/XRootdSSiRmcd/CMakeLists.txt
@@ -61,9 +61,9 @@ add_library(XrdSsiRmcd MODULE
 )
 target_link_libraries(XrdSsiRmcd XrdSsi-4 XrdSsiLib XrdSsiPbRmcd XrdUtils)
 set_property(TARGET XrdSsiRmcd APPEND PROPERTY INSTALL_RPATH ${PROTOBUF3_RPATH})
-install(TARGETS XrdSsiRmcd DESTINATION usr/${CMAKE_INSTALL_LIBDIR})
+#install(TARGETS XrdSsiRmcd DESTINATION usr/${CMAKE_INSTALL_LIBDIR})
 
-install (FILES cta-xrmcd.conf DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/cta)
-install (FILES cta-xrmcd.logrotate DESTINATION /etc/logrotate.d RENAME cta-xrmcd)
-install (FILES cta-xrmcd.sysconfig DESTINATION /etc/sysconfig RENAME cta-xrmcd)
-install (FILES cta-xrmcd.service DESTINATION /etc/systemd/system)
+#install (FILES cta-xrmcd.conf DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/cta)
+#install (FILES cta-xrmcd.logrotate DESTINATION /etc/logrotate.d RENAME cta-xrmcd)
+#install (FILES cta-xrmcd.sysconfig DESTINATION /etc/sysconfig RENAME cta-xrmcd)
+#install (FILES cta-xrmcd.service DESTINATION /etc/systemd/system)
diff --git a/cta.spec.in b/cta.spec.in
index c85fbc7b50..27ba37c032 100644
--- a/cta.spec.in
+++ b/cta.spec.in
@@ -133,36 +133,6 @@ The tape server daemon
 %systemd_postun cta-taped.service
 %systemdDaemonReload
 
-%package -n cta-xrmcd
-Summary: CERN Tape Archive: Xrootd plugin
-Group: Application/CTA
-Requires: logrotate
-Requires: xrootd-server
-%description -n cta-xrmcd
-CERN Tape Archive:
-The xroot plugin
-%files -n cta-xrmcd
-%defattr(0755,root,root)
-%{_libdir}/libXrdSsiRmcd.so*
-%attr(0644,root,root) %config(noreplace) /etc/logrotate.d/cta-xrmcd
-%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cta/cta-xrmcd.conf
-%attr(0644,cta,tape) /etc/systemd/system/cta-xrmcd.service
-%attr(0644,root,root) %config(noreplace) /etc/sysconfig/cta-xrmcd
-
-#xrmcd installs libraries so we need ldconfig.
-%post -n cta-xrmcd
-/sbin/ldconfig
-%systemd_post cta-xrmcd.service
-%systemdDaemonReload
-
-%preun -n cta-xrmcd
-%systemd_preun cta-xrmcd.service
-
-%postun -n cta-xrmcd
-/sbin/ldconfig
-%systemd_post cta-xrmcd.service
-%systemdDaemonReload
-
 %package -n cta-frontend
 Summary: CERN Tape Archive: Xrootd plugin
 Group: Application/CTA
-- 
GitLab