1
0
mirror of https://github.com/containers/bootc.git synced 2026-02-05 15:45:53 +01:00

build: Fetch latest spec from Fedora

To get `zstd-devel`.

Signed-off-by: Colin Walters <walters@verbum.org>
This commit is contained in:
Colin Walters
2024-06-04 14:10:01 -04:00
parent 7ca74c0275
commit 0455f808b1

View File

@@ -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 --suffix .spec)
curl -L -o ${t} https://src.fedoraproject.org/rpms/bootc/raw/rawhide/f/bootc.spec
dnf -y builddep "${t}"
rm -f "${t}"