Attempt to find actual repo to set priority. Make done only appear when
build succeed.
This commit is contained in:
@@ -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! ---"
|
||||
|
||||
Reference in New Issue
Block a user