Resolves: rhbz#2257446 - set Epoch consistently for all rhel

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
This commit is contained in:
Lokesh Mandvekar 2024-01-17 16:19:24 +05:30
parent 8d2ffc9fbe
commit 7ae984d2f1
No known key found for this signature in database
GPG Key ID: 1C1EDD7CC7C3A0DD

View File

@ -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}