summaryrefslogtreecommitdiffstats
path: root/mockit
diff options
context:
space:
mode:
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