From 8c62de4421617a72761e10332678ec1c4605d5ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Gounon?= <aurelien.gounon@cern.ch>
Date: Thu, 3 Mar 2022 10:48:55 +0100
Subject: [PATCH] move cta-versionlock apply to posttrans

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

diff --git a/cta.spec.in b/cta.spec.in
index 3ccce4cdba..9efbb1cb2f 100644
--- a/cta.spec.in
+++ b/cta.spec.in
@@ -521,7 +521,7 @@ This package contains .repo files, gpg keys and yum-versionlock configuration fo
 %attr(0644,root,root) %{_sysconfdir}/yum/pluginconf.d/versionlock.cta
 %attr(0755,root,root) %{_bindir}/cta-versionlock
 
-%post -n cta-release
+%posttrans -n cta-release
 /usr/bin/cta-versionlock apply
 
 %preun -n cta-release
-- 
GitLab