Skip to content

Commit

Permalink
Merge pull request #5202 from henrywang/fix_copr
Browse files Browse the repository at this point in the history
ci: fix copr build Unknown argument "builddep" for command "dnf5"
  • Loading branch information
cgwalters authored Dec 26, 2024
2 parents 8c19a54 + 0bb9515 commit 111701f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci/libbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ pkg_install() {

pkg_builddep_spec() {
if test -x /usr/bin/dnf5; then
# copr build dnf5 environment deps
dnf install -y 'dnf5-command(builddep)'
dnf builddep -y "$@"
else
dnf builddep -y --spec "$@"
Expand Down

0 comments on commit 111701f

Please sign in to comment.