diff options
-rw-r--r-- | buildfct | 56 | ||||
-rwxr-xr-x | getmock | 16 |
2 files changed, 64 insertions, 8 deletions
@@ -159,9 +159,9 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - echo -n "$(date +%X) el6 " + echo -n "$(date +%X) 55 el6 " setarch i686 mock $quiet --configdir=$mocketc -r el6i55 --arch i686 rebuild $1 && echo " Ok." || echo " Error !" - echo -n "$(date +%X) el5 " + echo -n "$(date +%X) 55 el5 " setarch i686 mock $quiet --configdir=$mocketc -r el5i55 --arch i386 rebuild $1 && echo " Ok." || echo " Error !" date +%X else @@ -169,6 +169,30 @@ else fi } +# Build All distribution / version / 32bits for remi/remi-php56 +mock56i() +{ +quiet="" +if [ "$1" = "-q" ]; then + quiet="--quiet" + shift +fi + +if [ -f "$1" ]; then + echo -n "$(date +%X) 56 fc20 " + setarch i686 mock $quiet --configdir=$mocketc -r fc20i56 --arch i686 rebuild $1 && echo " Ok." || echo " Error !" + echo -n "$(date +%X) 56 fc19 " + setarch i686 mock $quiet --configdir=$mocketc -r fc19i56 --arch i686 rebuild $1 && echo " Ok." || echo " Error !" + echo -n "$(date +%X) 56 el6 " + setarch i686 mock $quiet --configdir=$mocketc -r el6i56 --arch i686 rebuild $1 && echo " Ok." || echo " Error !" + echo -n "$(date +%X) 56 el5 " + setarch i686 mock $quiet --configdir=$mocketc -r el5i56 --arch i386 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() { @@ -253,7 +277,7 @@ fi if [ -f "$1" ]; then for i in $(seq 6 -1 5) do - echo -n "$(date +%X) el$i " + echo -n "$(date +%X) 55 el$i " mock $quiet --configdir=$mocketc -r el${i}x55 rebuild $1 && echo " Ok." || echo " Error !" done date +%X @@ -262,6 +286,32 @@ else fi } +# Build All distribution / version / 64bits for remi/remi-php56 +mock56x() +{ +quiet="" +if [ "$1" = "-q" ]; then + quiet="--quiet" + shift +fi + +if [ -f "$1" ]; then + for i in $(seq 20 -1 19) + do + echo -n "$(date +%X) 56 fc$i " + mock $quiet --configdir=$mocketc -r fc${i}x56 rebuild $1 && echo " Ok." || echo " Error !" + done + for i in $(seq 6 -1 5) + do + echo -n "$(date +%X) 56 el$i " + mock $quiet --configdir=$mocketc -r el${i}x56 rebuild $1 && echo " Ok." || echo " Error !" + done + date +%X +else + echo "file not found '$1'" +fi +} + # Build All distribution / version / 64bits for remi-test mockallxt() { @@ -143,16 +143,22 @@ if [ $1 = all ]; then getOneMock el${i}i $opt done elif [ $1 = all55 ]; then - for n in $(seq 14 20) - do - getOneMock fc${n}i remi - getOneMock fc${n}x remi - done for n in $(seq 5 6) do getOneMock el${n}i php55 getOneMock el${n}x php55 done +elif [ $1 = all56 ]; then + for n in $(seq 19 20) + do + getOneMock fc${n}i php56 + getOneMock fc${n}x php56 + done + for n in $(seq 5 6) + do + getOneMock el${n}i php56 + getOneMock el${n}x php56 + done elif [ $1 = all54 ]; then for n in $(seq 5 6) do |