summaryrefslogtreecommitdiffstats
path: root/mockit
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-08-22 15:11:06 +0200
committerRemi Collet <remi@php.net>2023-08-22 15:11:06 +0200
commit6016bf5362719105b4fbf79b903def6722072346 (patch)
tree7691ecdbea21f3580aa42b5134b01a6f50d2db67 /mockit
parent549475c8804d5be8d3531da2550c158ab58cf113 (diff)
Fedora 39 helpers
Diffstat (limited to 'mockit')
-rwxr-xr-xmockit16
1 files changed, 10 insertions, 6 deletions
diff --git a/mockit b/mockit
index afb575c..b1619da 100755
--- a/mockit
+++ b/mockit
@@ -28,10 +28,14 @@ if [ ! -f $SRPM ]; then
fi
echo mockit $SRPM $DIST $MIN $MAX $@
case $DIST in
- fc36x|fc37x|fc38x|el9x)
+ fc37x|fc38x|fc39x|el9x)
LST="81 74 80 82"
SCL="74 80 81 82 83"
;;
+ el9a)
+ LST="81 74 80 82"
+ SCL=""
+ ;;
el8x)
LST="72 73 74 80 81 82"
SCL="56 70 71 72 73 74 80 81 82 83"
@@ -41,22 +45,22 @@ case $DIST in
SCL="54 55 56 70 71 72 73 74 80 81 82 83"
;;
*)
- Unkown DIST $DIST
+ echo Unkown DIST $DIST
exit 1
;;
esac
for i in $LST
do
- if [ $i -ge $MIN -a $i -le $MAX ]; then
- echo -n "$(date +%X) $i "
+ if [ 0$i -ge $MIN -a 0$i -le $MAX ]; then
+ echo -n "$(date +%X) $i "
mock -q --configdir=$mocketc -r ${DIST}${i} rebuild $SRPM "$@" && echo " Ok." || echo " Error !"
fi
done
for i in $SCL
do
- if [ $i -ge $MIN -a $i -le $MAX ]; then
- echo -n "$(date +%X) $i "
+ if [ 0$i -ge $MIN -a 0$i -le $MAX ]; then
+ echo -n "$(date +%X) scl$i "
mock -q --configdir=$mocketc -r ${DIST}scl${i} rebuild $SRPM "$@" && echo " Ok." || echo " Error !"
fi
done