Use up to date argument formats for config-manager
This commit is contained in:
@@ -1,16 +1,16 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
echo "--- Start adding repos and priorities ---"
|
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"
|
dnf5 -y config-manager setopt f43.priority=1
|
||||||
dnf -y config-manager --setopt="fedora.priority=10"
|
dnf5 -y config-manager setopt fedora.priority=10
|
||||||
|
|
||||||
echo "--- Setup workspace and packages ---"
|
echo "--- Setup workspace and packages ---"
|
||||||
dnf -y install rpmdevtools
|
dnf5 -y install rpmdevtools
|
||||||
rpmdev-setuptree
|
rpmdev-setuptree
|
||||||
|
|
||||||
dnf -y builddep $1
|
dnf5 -y builddep $1
|
||||||
|
|
||||||
echo "--- Download sources ---"
|
echo "--- Download sources ---"
|
||||||
rpmdev-spectool -g -C ~/rpmbuild/SOURCES $1
|
rpmdev-spectool -g -C ~/rpmbuild/SOURCES $1
|
||||||
|
|||||||
Reference in New Issue
Block a user