diff --git a/cta.spec.in b/cta.spec.in
index 5324abe3e54d5d9619351977a9ae86bee2a016bd..132c039e193e06c1c8f6f83e7dec68b471f65152 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