diff options
Diffstat (limited to 'buildfct')
-rw-r--r-- | buildfct | 94 |
1 files changed, 70 insertions, 24 deletions
@@ -5,15 +5,15 @@ alias rhpkg='echo NO PLEASE, use fedpkg' mocketc=/home/rpmbuild/SPECS/remirepo/tools/mock -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 " -alias mockfc26xscl71=" mock --configdir=$mocketc -r fc26xscl71 rebuild " -alias mockfc26xscl72=" mock --configdir=$mocketc -r fc26xscl72 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 " +#alias mockfc26xscl71=" mock --configdir=$mocketc -r fc26xscl71 rebuild " +#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 " @@ -48,6 +48,14 @@ alias mockfc29xscl71=" mock --configdir=$mocketc -r fc29xscl71 alias mockfc29xscl72=" mock --configdir=$mocketc -r fc29xscl72 rebuild " alias mockfc29xscl73=" mock --configdir=$mocketc -r fc29xscl73 rebuild " +alias mockfc30i=" setarch i686 mock --configdir=$mocketc -r fc30i --arch i686 rebuild " +alias mockfc30x=" mock --configdir=$mocketc -r fc30x rebuild " +alias mockfc30xscl56=" mock --configdir=$mocketc -r fc30xscl56 rebuild " +alias mockfc30xscl70=" mock --configdir=$mocketc -r fc30xscl70 rebuild " +alias mockfc30xscl71=" mock --configdir=$mocketc -r fc30xscl71 rebuild " +alias mockfc30xscl72=" mock --configdir=$mocketc -r fc30xscl72 rebuild " +alias mockfc30xscl73=" mock --configdir=$mocketc -r fc30xscl73 rebuild " + alias mockel6i=" setarch i686 mock --configdir=$mocketc -r el6i --arch i686 rebuild " alias mockel6it=" setarch i686 mock --configdir=$mocketc -r el6it --arch i686 rebuild " alias mockel6i55="setarch i686 mock --configdir=$mocketc -r el6i55 --arch i686 rebuild " @@ -93,6 +101,7 @@ alias mockel7xscl73=" mock --configdir=$mocketc -r el7xscl73 r alias mockel8x=" mock --configdir=$mocketc -r el8x rebuild " alias mockel8x72=" mock --configdir=$mocketc -r el8x72 rebuild " alias mockel8x73=" mock --configdir=$mocketc -r el8x73 rebuild " +alias mockel8xscl56=" mock --configdir=$mocketc -r el8xscl56 rebuild " alias mockel8xscl70=" mock --configdir=$mocketc -r el8xscl70 rebuild " alias mockel8xscl71=" mock --configdir=$mocketc -r el8xscl71 rebuild " alias mockel8xscl72=" mock --configdir=$mocketc -r el8xscl72 rebuild " @@ -111,7 +120,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 29 28 27 26 + for i in 30 29 28 27 do echo -n "$(date +%X) fc$i " setarch i686 mock $quiet --configdir=$mocketc -r fc${i}i --arch i686 rebuild $1 && echo " Ok." || echo " Error !" @@ -134,7 +143,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 29 28 27 26 + for i in 29 28 27 do echo -n "$(date +%X) fc$i " setarch i686 mock $quiet --configdir=$mocketc -r fc${i}i --arch i686 rebuild $1 && echo " Ok." || echo " Error !" @@ -264,8 +273,6 @@ fi if [ -f "$1" ]; then echo -n "$(date +%X) 72 fc27 " setarch i686 mock $quiet --configdir=$mocketc -r fc27i72 --arch i686 rebuild $1 && echo " Ok." || echo " Error !" - 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 el6 " setarch i686 mock $quiet --configdir=$mocketc -r el6i72 --arch i686 rebuild $1 && echo " Ok." || echo " Error !" date +%X @@ -326,7 +333,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 29 27 28 26 + for i in 29 27 28 30 do echo -n "$(date +%X) fc$i " mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo " Ok." || echo " Error !" @@ -352,7 +359,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 29 28 26 27 + for i in 29 28 27 do echo -n "$(date +%X) fc$i " mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo " Ok." || echo " Error !" @@ -416,7 +423,7 @@ fi if [ -f "$1" ]; then date +%X pids="" - for i in 29 28 27 26 + for i in 30 29 28 27 do echo -n "" (mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo "$(date +%X) (56) fc$i Ok." || echo "fc$1 Error !")& @@ -449,7 +456,7 @@ fi if [ -f "$1" ]; then date +%X pids="" - for i in 29 28 27 26 + for i in 30 29 28 27 do echo -n "" (mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo "$(date +%X) (70) fc$i Ok." || echo "fc$1 Error !")& @@ -482,7 +489,7 @@ fi if [ -f "$1" ]; then date +%X pids="" - for i in 28 27 26 29 + for i in 28 27 29 30 do echo -n "" (mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo "$(date +%X) (71) fc$i Ok." || echo "fc$1 Error !")& @@ -504,6 +511,45 @@ else fi } +# Build All distribution / version / noarch for remi using PHP >= 7.2 +mock72n() +{ +quiet="--quiet" +if [ "$1" = "-q" ]; then + shift +fi + +if [ -f "$1" ]; then + date +%X + pids="" + for i in 28 29 30 + do + echo -n "" + (mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo "$(date +%X) (72) fc$i Ok." || echo "fc$1 Error !")& + pids="$pids $!" + done + for i in 27 + do + echo -n "" + (mock $quiet --configdir=$mocketc -r fc${i}x72 rebuild $1 && echo "$(date +%X) (72) fc$i Ok." || echo "fc$1 Error !")& + pids="$pids $!" + done + for i in 7 6 + do + echo -n "" + (mock $quiet --configdir=$mocketc -r el${i}x72 rebuild $1 && echo "$(date +%X) (72) el$i Ok." || echo "el$i Error !")& + pids="$pids $!" + done + echo -n "" + (mock $quiet --configdir=$mocketc -r el8x rebuild $1 && echo "$(date +%X) (72) el8 Ok." || echo "el8 Error !")& + pids="$pids $!" + wait $pids + date +%X +else + echo "file not found '$1'" +fi +} + # Build All distribution / version / 64bits for remi/remi-php55 mock55x() { @@ -598,7 +644,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 27 26 + for i in 27 do echo -n "$(date +%X) 72 fc$i " mock $quiet --configdir=$mocketc -r fc${i}x72 rebuild $1 && echo " Ok." || echo " Error !" @@ -676,7 +722,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 29 28 27 26 + for i in 29 28 27 do echo -n "$(date +%X) scl72 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl72 rebuild $1 && echo " Ok." || echo " Error !" @@ -702,7 +748,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 29 28 26 27 + for i in 29 28 27 do echo -n "$(date +%X) scl71 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl71 rebuild $1 && echo " Ok." || echo " Error !" @@ -728,7 +774,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 29 28 26 27 + for i in 29 28 27 do echo -n "$(date +%X) scl70 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl70 rebuild $1 && echo " Ok." || echo " Error !" @@ -754,12 +800,12 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 29 28 27 26 + for i in 29 28 27 do echo -n "$(date +%X) scl56 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl56 rebuild $1 && echo " Ok." || echo " Error !" done - for i in 7 6 + for i in 8 7 6 do echo -n "$(date +%X) scl56 el$i " mock $quiet --configdir=$mocketc -r el${i}xscl56 rebuild $1 && echo " Ok." || echo " Error !" |