From f0fb5a3bd28aa05efd7082e257e3b93460bff97c Mon Sep 17 00:00:00 2001
From: Steven Murray <Steven.Murray@cern.ch>
Date: Tue, 7 Jan 2020 15:32:27 +0100
Subject: [PATCH] Moved cta-immutable-file-test into its own RPM in order to
 avoid install cta-taped

---
 cta.spec.in | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/cta.spec.in b/cta.spec.in
index 5324abe3e5..132c039e19 100644
--- a/cta.spec.in
+++ b/cta.spec.in
@@ -245,7 +245,6 @@ Unit tests and system tests with virtual tape drives
 %defattr(0755,root,root,-)
 %{_libdir}/libsystemTestHelperTests.so*
 %{_libdir}/libcta-tapedSystemTests.so*
-%{_bindir}/cta-immutable-file-test
 %{_bindir}/cta-rdbmsUnitTests
 %{_bindir}/cta-rdbmsUnitTests-oracle.sh
 %{_bindir}/cta-unitTests
@@ -278,6 +277,17 @@ Unit tests and system tests with virtual tape drives
 %attr(0644,root,root) %{_datadir}/%{name}-%{ctaVersion}/unittest/*.suppr
 %attr(0644,root,root) %{_datadir}/%{name}-%{ctaVersion}/unittest/parallelTestsMakefile
 
+%package -n cta-immutable-file-test
+Summary: CERN Tape Archive: command-line tool for testing immutable files
+Group: Application/CTA
+Requires: cta-lib-common = %{version}-%{release}
+%description -n cta-immutable-file-test
+CERN Tape Archive:
+Command-line tool for testing immutable files
+%files -n cta-immutable-file-test
+%defattr(0755,root,root,-)
+%{_bindir}/cta-immutable-file-test
+
 %package -n cta-objectstore-tools
 Summary: CERN Tape Archive: object store tools
 Group: Application/CTA
-- 
GitLab