ci: fedora/prepare: use curl to download rustup instead of wget

We install curl anyway as a dependency of the plugins

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1060>
This commit is contained in:
Jordan Petridis 2023-09-05 11:56:41 +03:00
parent 88e6dd0555
commit 98eab9a562

View file

@ -29,12 +29,14 @@ dnf install -y \
libaom \
libaom-devel \
libcaca-devel \
libcurl-devel \
libdav1d \
libdav1d-devel \
libdrm-devel \
ccache \
cmake \
clang-devel \
curl \
elfutils \
elfutils-libs \
elfutils-devel \
@ -254,10 +256,8 @@ RUSTUP_VERSION=1.26.0
RUST_VERSION=1.73.0
RUST_ARCH="x86_64-unknown-linux-gnu"
dnf install -y wget
RUSTUP_URL=https://static.rust-lang.org/rustup/archive/$RUSTUP_VERSION/$RUST_ARCH/rustup-init
wget $RUSTUP_URL
dnf remove -y wget
curl -o rustup-init $RUSTUP_URL
export RUSTUP_HOME="/usr/local/rustup"
export CARGO_HOME="/usr/local/cargo"