mirror of
https://github.com/containers/podman.git
synced 2025-10-10 07:45:08 +08:00
RPM: Limit Epoch 102 to podman-next copr
Users of WSL images currently get podman from the copr rpm on the release PR with Epoch: 102. This is a problem if the user is looking to update the image with packages from official Fedora repos. This commit limits Epoch: 102 to only the podman rpms on rhcontainerbot/podman-next copr. All other rpms, including other copr rpms, will use the default Epoch. Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
@ -19,6 +19,9 @@
|
||||
|
||||
%if %{defined copr_username}
|
||||
%define copr_build 1
|
||||
%if "%{copr_username}" == "rhcontainerbot" && "%{copr_projectname}" == "podman-next"
|
||||
%define next_build 1
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# Only RHEL and CentOS Stream rpms are built with fips-enabled go compiler
|
||||
@ -46,7 +49,7 @@
|
||||
%endif
|
||||
|
||||
Name: podman
|
||||
%if %{defined copr_build}
|
||||
%if %{defined next_build}
|
||||
Epoch: 102
|
||||
%else
|
||||
Epoch: 5
|
||||
|
Reference in New Issue
Block a user