Skip to content

Commit

Permalink
RPM: fix Copr conditional
Browse files Browse the repository at this point in the history
The `copr_project` macro doesn't seem to work anymore given that recent
crun builds on podman-next COPR didn't mention the epoch.

Fix this by switching to `copr_username` instead as that's what podman
and the other repos are currently using.

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
  • Loading branch information
lsm5 committed May 9, 2024
1 parent 184b047 commit bfd094c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpm/crun.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
%ifarch aarch64 || x86_64
%global wasm_support 1

%if %{defined copr_project}
%if %{defined copr_username}
%define copr_build 1
%endif

Expand Down

0 comments on commit bfd094c

Please sign in to comment.