diff options
author | Remi Collet <remi@remirepo.net> | 2020-04-09 17:22:23 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-04-09 17:22:23 +0200 |
commit | d675abbcffd65f92b3eda5eac29892b3dc1cdb21 (patch) | |
tree | 4e7bbdf06e556cc2cfb259cb0702b2f8143ff4e5 /buildfct | |
parent | 9bf9134f9e53862881bc0f36076e6aa7a1079248 (diff) |
helpers for php80 new SCL
Diffstat (limited to 'buildfct')
-rw-r--r-- | buildfct | 47 |
1 files changed, 31 insertions, 16 deletions
@@ -5,21 +5,6 @@ alias rhpkg='echo NO PLEASE, use fedpkg' mocketc=/home/rpmbuild/SPECS/remirepo/tools/mock -alias mockfc29i=" setarch i686 mock --configdir=$mocketc -r fc29i --arch i686 rebuild " -alias mockfc29ir=" setarch i686 mock --configdir=$mocketc -r fc29ir --arch i686 rebuild " -alias mockfc29i73="setarch i686 mock --configdir=$mocketc -r fc29i73 --arch i686 rebuild " -alias mockfc29i74="setarch i686 mock --configdir=$mocketc -r fc29i74 --arch i686 rebuild " -alias mockfc29x=" mock --configdir=$mocketc -r fc29x rebuild " -alias mockfc29xr=" mock --configdir=$mocketc -r fc29xr rebuild " -alias mockfc29x73=" mock --configdir=$mocketc -r fc29x73 rebuild " -alias mockfc29x74=" mock --configdir=$mocketc -r fc29x74 rebuild " -alias mockfc29xscl56=" mock --configdir=$mocketc -r fc29xscl56 rebuild " -alias mockfc29xscl70=" mock --configdir=$mocketc -r fc29xscl70 rebuild " -alias mockfc29xscl71=" mock --configdir=$mocketc -r fc29xscl71 rebuild " -alias mockfc29xscl72=" mock --configdir=$mocketc -r fc29xscl72 rebuild " -alias mockfc29xscl73=" mock --configdir=$mocketc -r fc29xscl73 rebuild " -alias mockfc29xscl74=" mock --configdir=$mocketc -r fc29xscl74 rebuild " - alias mockfc30i=" setarch i686 mock --configdir=$mocketc -r fc30i --arch i686 rebuild " alias mockfc30ir=" setarch i686 mock --configdir=$mocketc -r fc30ir --arch i686 rebuild " alias mockfc30i74="setarch i686 mock --configdir=$mocketc -r fc30i74 --arch i686 rebuild " @@ -43,6 +28,7 @@ alias mockfc31xscl71=" mock --configdir=$mocketc -r fc31xscl71 alias mockfc31xscl72=" mock --configdir=$mocketc -r fc31xscl72 rebuild " alias mockfc31xscl73=" mock --configdir=$mocketc -r fc31xscl73 rebuild " alias mockfc31xscl74=" mock --configdir=$mocketc -r fc31xscl74 rebuild " +alias mockfc31xscl80=" mock --configdir=$mocketc -r fc31xscl80 rebuild " alias mockfc32x=" mock --configdir=$mocketc -r fc32x rebuild " alias mockfc32xd=" mock --configdir=$mocketc -r fc32xd rebuild " @@ -53,6 +39,7 @@ alias mockfc32xscl71=" mock --configdir=$mocketc -r fc32xscl71 alias mockfc32xscl72=" mock --configdir=$mocketc -r fc32xscl72 rebuild " alias mockfc32xscl73=" mock --configdir=$mocketc -r fc32xscl73 rebuild " alias mockfc32xscl74=" mock --configdir=$mocketc -r fc32xscl74 rebuild " +alias mockfc32xscl80=" mock --configdir=$mocketc -r fc32xscl80 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 " @@ -98,6 +85,7 @@ alias mockel7xscl71=" mock --configdir=$mocketc -r el7xscl71 r alias mockel7xscl72=" mock --configdir=$mocketc -r el7xscl72 rebuild " alias mockel7xscl73=" mock --configdir=$mocketc -r el7xscl73 rebuild " alias mockel7xscl74=" mock --configdir=$mocketc -r el7xscl74 rebuild " +alias mockel7xscl80=" mock --configdir=$mocketc -r el7xscl80 rebuild " alias mockel8x=" mock --configdir=$mocketc -r el8x rebuild " alias mockel8xr=" mock --configdir=$mocketc -r el8xr rebuild " @@ -111,6 +99,7 @@ alias mockel8xscl71=" mock --configdir=$mocketc -r el8xscl71 r alias mockel8xscl72=" mock --configdir=$mocketc -r el8xscl72 rebuild " alias mockel8xscl73=" mock --configdir=$mocketc -r el8xscl73 rebuild " alias mockel8xscl74=" mock --configdir=$mocketc -r el8xscl74 rebuild " +alias mockel8xscl80=" mock --configdir=$mocketc -r el8xscl80 rebuild " alias mockepel872=" mock --configdir=$mocketc -r epel872 rebuild " alias mockepel873=" mock --configdir=$mocketc -r epel873 rebuild " @@ -849,7 +838,33 @@ else fi } -# Build All distribution / version / 64bits for remi/scl-php73 +# Build All distribution / version / 64bits for remi/scl-php80 +mockscl80x() +{ +quiet="" +if [ "$1" = "-q" ]; then + quiet="--quiet" + shift +fi + +if [ -f "$1" ]; then + for i in 31 32 + do + echo -n "$(date +%X) scl80 fc$i " + mock $quiet --configdir=$mocketc -r fc${i}xscl80 rebuild $1 && echo " Ok." || echo " Error !" + done + for i in 7 8 + do + echo -n "$(date +%X) scl80 el$i " + mock $quiet --configdir=$mocketc -r el${i}xscl80 rebuild $1 && echo " Ok." || echo " Error !" + done + date +%X +else + echo "file not found '$1'" +fi +} + +# Build All distribution / version / 64bits for remi/scl-php74 mockscl74x() { quiet="" |