Fix build, move to fc37

This commit is contained in:
Gitouche 2023-04-09 10:39:38 +02:00
parent 59b11898e4
commit 8159ec6030

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
FROMFEDORA='36'
FROMFEDORA='37'
PACKAGE='msmtp'
ABSDIR="$( dirname "$(readlink -f -- "$0")" )"
@ -44,5 +44,4 @@ runuser -l mockbuilder -c 'mock --localrepo=/tmp/ --chain -r rocky+epel-8-${ARCH
mv -f /tmp/results/*/${PACKAGE}-*/*.rpm /out/
EOF
[[ $? == 0 ]] && mv -i /tmp/dockerrpmbuild-$$/*.rpm ${ABSDIR}/files/ &&
rm -rf /tmp/dockerrpmbuild-$$ &&
[[ $? == 0 ]] && mv -i /tmp/dockerrpmbuild-$$/*.rpm ${ABSDIR}/files/ && rm -rf /tmp/dockerrpmbuild-$$