From 7ae984d2f115bd69613aacc6213976e2021673fb Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Wed, 17 Jan 2024 16:19:24 +0530 Subject: [PATCH] Resolves: rhbz#2257446 - set Epoch consistently for all rhel Signed-off-by: Lokesh Mandvekar --- catatonit.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/catatonit.spec b/catatonit.spec index f1822e5..431dd59 100644 --- a/catatonit.spec +++ b/catatonit.spec @@ -3,9 +3,15 @@ Version: 0.1.7 Summary: A signal-forwarding process manager for containers License: GPL-3.0-or-later Release: %autorelease -# For centos on rhcontainerbot/qm copr -%if 0%{?centos} -Epoch: 4 +%if %{defined copr_username} +# Set copr rpm build epoch to a very high value +Epoch: 101 +%else +%if %{defined rhel} +# Bump epoch to 5 for RHEL +# Ref: https://bugzilla.redhat.com/show_bug.cgi?id=2257446 +Epoch: 5 +%endif %endif %if %{defined golang_arches_future} ExclusiveArch: %{golang_arches_future}