diff options
-rw-r--r-- | buildfct | 57 | ||||
-rwxr-xr-x | getmock | 18 |
2 files changed, 75 insertions, 0 deletions
@@ -43,8 +43,10 @@ alias mockfc24xscl72=" mock --configdir=$mocketc -r fc24xscl72 alias mockfc25i=" setarch i686 mock --configdir=$mocketc -r fc25i --arch i686 rebuild " alias mockfc25i71="setarch i686 mock --configdir=$mocketc -r fc25i71 --arch i686 rebuild " +alias mockfc25i72="setarch i686 mock --configdir=$mocketc -r fc25i72 --arch i686 rebuild " alias mockfc25x=" mock --configdir=$mocketc -r fc25x rebuild " alias mockfc25x71=" mock --configdir=$mocketc -r fc25x71 rebuild " +alias mockfc25x72=" mock --configdir=$mocketc -r fc25x72 rebuild " alias mockfc25xscl54=" mock --configdir=$mocketc -r fc25xscl54 rebuild " alias mockfc25xscl55=" mock --configdir=$mocketc -r fc25xscl55 rebuild " alias mockfc25xscl56=" mock --configdir=$mocketc -r fc25xscl56 rebuild " @@ -53,7 +55,9 @@ alias mockfc25xscl71=" mock --configdir=$mocketc -r fc25xscl71 alias mockfc25xscl72=" mock --configdir=$mocketc -r fc25xscl72 rebuild " alias mockfc26i=" setarch i686 mock --configdir=$mocketc -r fc26i --arch i686 rebuild " +alias mockfc26i72="setarch i686 mock --configdir=$mocketc -r fc26i72 --arch i686 rebuild " alias mockfc26x=" mock --configdir=$mocketc -r fc26x rebuild " +alias mockfc26x72=" mock --configdir=$mocketc -r fc26x72 rebuild " alias mockfc26xt=" mock --configdir=$mocketc -r fc26xt rebuild " alias mockfc26xscl56=" mock --configdir=$mocketc -r fc26xscl56 rebuild " alias mockfc26xscl70=" mock --configdir=$mocketc -r fc26xscl70 rebuild " @@ -61,7 +65,9 @@ alias mockfc26xscl71=" mock --configdir=$mocketc -r fc26xscl71 alias mockfc26xscl72=" mock --configdir=$mocketc -r fc26xscl72 rebuild " alias mockfc27i=" setarch i686 mock --configdir=$mocketc -r fc27i --arch i686 rebuild " +alias mockfc27i72="setarch i686 mock --configdir=$mocketc -r fc27i72 --arch i686 rebuild " alias mockfc27x=" mock --configdir=$mocketc -r fc27x rebuild " +alias mockfc27x72=" mock --configdir=$mocketc -r fc27x72 rebuild " alias mockfc27xt=" mock --configdir=$mocketc -r fc27xt rebuild " alias mockfc27xscl56=" mock --configdir=$mocketc -r fc27xscl56 rebuild " alias mockfc27xscl70=" mock --configdir=$mocketc -r fc27xscl70 rebuild " @@ -89,6 +95,7 @@ alias mockel6i55="setarch i686 mock --configdir=$mocketc -r el6i55 --arch i686 r alias mockel6i56="setarch i686 mock --configdir=$mocketc -r el6i56 --arch i686 rebuild " alias mockel6i70="setarch i686 mock --configdir=$mocketc -r el6i70 --arch i686 rebuild " alias mockel6i71="setarch i686 mock --configdir=$mocketc -r el6i71 --arch i686 rebuild " +alias mockel6i72="setarch i686 mock --configdir=$mocketc -r el6i72 --arch i686 rebuild " alias mockel6x=" mock --configdir=$mocketc -r el6x rebuild " alias mockel6xt=" mock --configdir=$mocketc -r el6xt rebuild " alias mockel6x55=" mock --configdir=$mocketc -r el6x55 rebuild " @@ -96,6 +103,7 @@ alias mockel6t56=" mock --configdir=$mocketc -r el6t56 r alias mockel6x56=" mock --configdir=$mocketc -r el6x56 rebuild " alias mockel6x70=" mock --configdir=$mocketc -r el6x70 rebuild " alias mockel6x71=" mock --configdir=$mocketc -r el6x71 rebuild " +alias mockel6x72=" mock --configdir=$mocketc -r el6x72 rebuild " alias mockel6xscl54=" mock --configdir=$mocketc -r el6xscl54 rebuild " alias mockel6xscl55=" mock --configdir=$mocketc -r el6xscl55 rebuild " alias mockel6xscl56=" mock --configdir=$mocketc -r el6xscl56 rebuild " @@ -110,6 +118,7 @@ alias mockel7t56=" mock --configdir=$mocketc -r el7t56 r alias mockel7x56=" mock --configdir=$mocketc -r el7x56 rebuild " alias mockel7x70=" mock --configdir=$mocketc -r el7x70 rebuild " alias mockel7x71=" mock --configdir=$mocketc -r el7x71 rebuild " +alias mockel7x72=" mock --configdir=$mocketc -r el7x72 rebuild " alias mockel7xscl54=" mock --configdir=$mocketc -r el7xscl54 rebuild " alias mockel7xscl55=" mock --configdir=$mocketc -r el7xscl55 rebuild " alias mockel7xscl56=" mock --configdir=$mocketc -r el7xscl56 rebuild " @@ -239,6 +248,28 @@ else fi } +# Build All distribution / version / 32bits for remi/remi-php72 +mock72i() +{ +quiet="" +if [ "$1" = "-q" ]; then + quiet="--quiet" + shift +fi + +if [ -f "$1" ]; then + echo -n "$(date +%X) 72 fc26 " + setarch i686 mock $quiet --configdir=$mocketc -r fc26i72 --arch i686 rebuild $1 && echo " Ok." || echo " Error !" + echo -n "$(date +%X) 72 fc25 " + setarch i686 mock $quiet --configdir=$mocketc -r fc25i72 --arch i686 rebuild $1 && echo " Ok." || echo " Error !" + echo -n "$(date +%X) 72 el6 " + setarch i686 mock $quiet --configdir=$mocketc -r el6i72 --arch i686 rebuild $1 && echo " Ok." || echo " Error !" + date +%X +else + echo "file not found p$1'" +fi +} + # Build all distribution / version / 32bits for remi-test mockallit() { @@ -469,6 +500,32 @@ else fi } +# Build All distribution / version / 64bits for remi/remi-php72 +mock72x() +{ +quiet="" +if [ "$1" = "-q" ]; then + quiet="--quiet" + shift +fi + +if [ -f "$1" ]; then + for i in 25 26 27 + do + echo -n "$(date +%X) 72 fc$i " + mock $quiet --configdir=$mocketc -r fc${i}x72 rebuild $1 && echo " Ok." || echo " Error !" + done + for i in 7 6 + do + echo -n "$(date +%X) 72 el$i " + mock $quiet --configdir=$mocketc -r el${i}x72 rebuild $1 && echo " Ok." || echo " Error !" + done + date +%X +else + echo "file not found '$1'" +fi +} + # Build All distribution / version / 64bits for remi/scl-php72 mockscl72x() { @@ -184,6 +184,10 @@ if [ $1 = php71 ]; then opt=php71 shift fi +if [ $1 = php72 ]; then + opt=php72 + shift +fi if [ $1 = devs -o $1 = dev ]; then opt=devs shift @@ -244,6 +248,20 @@ elif [ $1 = all71 ]; then n=7 getOneMock el${n}x $opt +elif [ $1 = all72 ]; then + [ $opt = remi ] && opt=php72 + [ $opt = test ] && opt=test72 + for n in 25 26 27 + do + getOneMock fc${n}i $opt + getOneMock fc${n}x $opt + done + n=6 + getOneMock el${n}i $opt + getOneMock el${n}x $opt + n=7 + getOneMock el${n}x $opt + elif [ $1 = all54 ]; then for n in 6 do |