Attempt to find actual repo to set priority. Make done only appear when

build succeed.
This commit is contained in:
2025-12-01 23:17:24 -05:00
parent f9a61a2d96
commit d03ee8b339

View File

@@ -3,7 +3,7 @@
echo "--- Start adding repos and priorities ---"
dnf5 -y config-manager addrepo --from-repofile=https://git.hydrosaber.com/api/packages/hydros/rpm/f43.repo
dnf5 -y config-manager setopt gitea-hydros-f43.priority=1
dnf5 -y config-manager setopt f43.priority=1
dnf5 -y config-manager setopt fedora.priority=10
echo "--- Setup workspace and packages ---"
@@ -15,5 +15,4 @@ dnf5 -y builddep $1
echo "--- Download sources ---"
rpmdev-spectool -g -C ~/rpmbuild/SOURCES $1
echo "--- Build RPM packages ---"
rpmbuild --nodebuginfo --bb $1
echo "--- Done! ---"
rpmbuild --nodebuginfo --bb $1 && echo "--- Done! ---"