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}