Skip to content

Commit

Permalink
build: Fetch latest spec from Fedora
Browse files Browse the repository at this point in the history
To get `zstd-devel`.
  • Loading branch information
cgwalters committed Jun 4, 2024
1 parent c3d53d4 commit b9265db
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion hack/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@ case $ID in
centos|rhel) dnf config-manager --set-enabled crb;;
fedora) dnf -y install dnf-utils ;;
esac
dnf -y builddep bootc
# Fetch the latest spec from fedora to ensure we've got the latest build deps
t=$(mktemp)
curl -L -o ${t} https://src.fedoraproject.org/rpms/bootc/blob/rawhide/f/bootc.spec
dnf -y builddep "${t}"
rm -f "${t}"

0 comments on commit b9265db

Please sign in to comment.