From 7c23ee5616b7ecad157644722d2aa653ec229623 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 25 Sep 2025 10:56:12 +0200 Subject: Helpers for PHP 8.5 modules --- mockit | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'mockit') diff --git a/mockit b/mockit index 8964c66..8c93354 100755 --- a/mockit +++ b/mockit @@ -1,14 +1,20 @@ #!/bin/bash if [ "$2" = "" ]; then - echo -e "\nusage: $0 [ options ] SRPM distro [ min_ver [, max_ver [, mock_options ]]]\n" + echo -e "\nusage: $0 [ options ] SRPM target [ min_ver [, max_ver [, mock_options ]]]\n" echo -e "\t--redis store build command in redis queue" echo -e "\t--valkey store build command in valkey queue" echo -e "\t--list list queue content" 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, im6, im7\n" + echo -e "Targets:" + echo -e "\tDistribution: el8a el8x el9a el9x el10a el10x fc41a fc41x fc42a fc42x fc43a fc43x" + echo -e "\tPHP: all, zts" + echo -e "\tMemcached: memcached" + echo -e "\tImageMagick: im6, im7" + echo -e "\tRedis: r60, r62, r70, r72, r80, r82" + echo -e "\tValkey: v81\n" exit 0 fi @@ -84,7 +90,7 @@ else shift fi if [ "$1" = "" ]; then - MAX=84 + MAX=85 else MAX=$1 shift @@ -146,15 +152,15 @@ fi echo mockit $SRPM $DIST $MIN $MAX $@ case $DIST in fc43x|fc43a|fc42x|fc42a|fc41x|fc41a|el9x|el9a|el10x|el10a) - LST="74 80 81 82 83 84" + LST="74 80 81 82 83 84 85" SCL="74 80 81 82 83 84 85" ;; el8a) - LST="72 73 74 80 81 82 83 84" + LST="72 73 74 80 81 82 83 84 85" SCL="72 73 74 80 81 82 83 84 85" ;; el8x) - LST="72 73 74 80 81 82 83 84" + LST="72 73 74 80 81 82 83 84 85" SCL="56 70 71 72 73 74 80 81 82 83 84 85" ;; all) -- cgit