#!/bin/sh -eux cd /src dnf install -y 'dnf-command(config-manager)' dnf config-manager --set-enabled crb dnf install -y gcc clang openssl-devel ./build-helpers/install-rust . "$HOME/.cargo/env" /bin/bash ./build-helpers/check cargo install cargo-generate-rpm cargo build --release strip -s target/release/fafbot cargo generate-rpm --set-metadata='release="el9"'