Use up to date argument formats for config-manager

This commit is contained in:
2025-12-01 18:29:44 -05:00
parent ff054b53a0
commit 22d2f09bdf

View File

@@ -1,16 +1,16 @@
#!/usr/bin/env bash
echo "--- Start adding repos and priorities ---"
dnf -y config-manager addrepo --from-repofile=https://git.hydrosaber.com/api/packages/hydros/rpm/f43.repo
dnf5 -y config-manager addrepo --from-repofile=https://git.hydrosaber.com/api/packages/hydros/rpm/f43.repo
dnf -y config-manager --setopt="f43.priority=1"
dnf -y config-manager --setopt="fedora.priority=10"
dnf5 -y config-manager setopt f43.priority=1
dnf5 -y config-manager setopt fedora.priority=10
echo "--- Setup workspace and packages ---"
dnf -y install rpmdevtools
dnf5 -y install rpmdevtools
rpmdev-setuptree
dnf -y builddep $1
dnf5 -y builddep $1
echo "--- Download sources ---"
rpmdev-spectool -g -C ~/rpmbuild/SOURCES $1