Skip to content

Commit b9265db

Browse files
committed
build: Fetch latest spec from Fedora
To get `zstd-devel`.
1 parent c3d53d4 commit b9265db

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

hack/build.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,8 @@ case $ID in
55
centos|rhel) dnf config-manager --set-enabled crb;;
66
fedora) dnf -y install dnf-utils ;;
77
esac
8-
dnf -y builddep bootc
8+
# Fetch the latest spec from fedora to ensure we've got the latest build deps
9+
t=$(mktemp)
10+
curl -L -o ${t} https://src.fedoraproject.org/rpms/bootc/blob/rawhide/f/bootc.spec
11+
dnf -y builddep "${t}"
12+
rm -f "${t}"

0 commit comments

Comments
 (0)