diff options
author | Remi Collet <remi@remirepo.net> | 2025-03-20 11:01:40 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2025-03-20 11:01:40 +0100 |
commit | 1c7e1e1043fa0b07f74368c45e9e248cbeccabc0 (patch) | |
tree | 7a5ca05dfad93e8b60af3e8941b5ec5e280b2fd2 | |
parent | 0c736143b84a1409392e1c0e89f4a69f38dc16f5 (diff) |
-rwxr-xr-x | mockit | 32 |
1 files changed, 24 insertions, 8 deletions
@@ -8,7 +8,7 @@ if [ "$2" = "" ]; then echo -e "\t--nobase | --scl only build PHP SCL packages" echo -e "\t--noscl | --base only build PHP base packages" echo -e "\t--mock distro is a mock config name\n" - echo -e "Special distro: all, zts, memcached\n" + echo -e "Special distro: all, zts, memcached, im6, im7\n" exit 0 fi @@ -90,13 +90,13 @@ else fi case $DIST in - *x|*xm) + *x|*xm|*xr) if [ $SUF != x ]; then echo "Not an x86_64 builder" exit 1 fi ;; - *a|*am) + *a|*am|*ar) if [ $SUF != a ]; then if [ $REDIS -ge 1 ]; then REMOTE=1 @@ -144,12 +144,8 @@ fi # PHP version matrix echo mockit $SRPM $DIST $MIN $MAX $@ case $DIST in - fc42x|fc42a) + fc42x|fc42a|fc40x|fc40a|fc41x|fc41a|el9x|el9a|el10x|el10a) LST="74 80 81 82 83 84" - SCL="" - ;; - fc40x|fc40a|fc41x|fc41a|el9x|el9a|el10x|el10a) - LST="82 81 74 80 83 84" SCL="74 80 81 82 83 84" ;; el8a) @@ -192,6 +188,26 @@ case $DIST in echo Not supported for direct build fi ;; + im6) + if [ $REDIS -ge 1 ]; then + for i in fc40x el8xr el9x fc40a el8ar el9a + do + $0 --valkey --mock $SRPM $i $MIN $MAX $@ + done + else + echo Not supported for direct build + fi + ;; + im7) + if [ $REDIS -ge 1 ]; then + for i in fc40x fc41x fc42x el8xr el9x el10x fc40a fc41a fc42a el8ar el9a el10a + do + $0 --valkey --mock $SRPM $i $MIN $MAX $@ + done + else + echo Not supported for direct build + fi + ;; *) if [ $BUILD_MOCK -eq 0 -o ! -f ${mockref}/${DIST}.cfg ]; then [ $BUILD_MOCK -eq 0 ] && echo "BUILD_MOCK=0" |