From c015020e077f8fb25c6b471de975f98b28ae5edf Mon Sep 17 00:00:00 2001
From: Jorge Camarero Vera <jorge.camarero@cern.ch>
Date: Tue, 25 Apr 2023 10:33:28 +0200
Subject: [PATCH] Modify the default version of xrootd in cta.spec.in

---
 cta.spec.in | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/cta.spec.in b/cta.spec.in
index e07289736a..9149c20451 100644
--- a/cta.spec.in
+++ b/cta.spec.in
@@ -45,9 +45,8 @@ BuildRequires: cmake3 >= 3.17 redhat-rpm-config
 # The CTA client is the only component of CTA that can be compiled on both SLC6
 # and C77, therefore only the packages it depends on are required for SLC6
 
-%if "%{ctaVersion}" == "4"
 %define xrootdVersion 1:4.12.4-1
-%else
+%if "%{ctaVersion}" == "5"
 %define xrootdVersion 1:5.4.2-1
 %endif
 
-- 
GitLab