Skip to content

Commit

Permalink
copr: fix Unknown argument "builddep" for command "dnf5"
Browse files Browse the repository at this point in the history
The copr build environment looks upgrade to fedora 41 now, dnf5
has been used. That caused dnf builddep command error.

dnf5 needs dnf5-command(builddep) installed to run "dnf builddep"

Signed-off-by: Xiaofeng Wang <[email protected]>
  • Loading branch information
henrywang committed Dec 13, 2024
1 parent f4bc200 commit 22d3aeb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .copr/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
srpm:
dnf5 -y install 'dnf5-command(builddep)'
dnf -y install dnf-utils git
# similar to https://github.com/actions/checkout/issues/760, but for COPR
git config --global --add safe.directory '*'
Expand Down

0 comments on commit 22d3aeb

Please sign in to comment.