diff options
author | Remi Collet <remi@remirepo.net> | 2018-06-07 13:37:53 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-06-07 13:37:53 +0200 |
commit | 31c1899267b5955a2bec8b9bbbbbbbd4d2d66453 (patch) | |
tree | cfd937fe66728af32316089162d90ae0839fd636 | |
parent | ebc7fa49c221f02fb484e1bc4d3dc88ac5aaf374 (diff) |
add scl73 tools
-rw-r--r-- | buildfct | 30 | ||||
-rwxr-xr-x | getmock | 28 |
2 files changed, 58 insertions, 0 deletions
@@ -50,6 +50,7 @@ alias mockfc27xscl56=" mock --configdir=$mocketc -r fc27xscl56 alias mockfc27xscl70=" mock --configdir=$mocketc -r fc27xscl70 rebuild " alias mockfc27xscl71=" mock --configdir=$mocketc -r fc27xscl71 rebuild " alias mockfc27xscl72=" mock --configdir=$mocketc -r fc27xscl72 rebuild " +alias mockfc27xscl73=" mock --configdir=$mocketc -r fc27xscl73 rebuild " alias mockfc28i=" setarch i686 mock --configdir=$mocketc -r fc28i --arch i686 rebuild " alias mockfc28x=" mock --configdir=$mocketc -r fc28x rebuild " @@ -57,6 +58,7 @@ alias mockfc28xscl56=" mock --configdir=$mocketc -r fc28xscl56 alias mockfc28xscl70=" mock --configdir=$mocketc -r fc28xscl70 rebuild " alias mockfc28xscl71=" mock --configdir=$mocketc -r fc28xscl71 rebuild " alias mockfc28xscl72=" mock --configdir=$mocketc -r fc28xscl72 rebuild " +alias mockfc28xscl73=" mock --configdir=$mocketc -r fc28xscl73 rebuild " #alias mockel4i="setarch i686 mock --configdir=$mocketc -r el4i --arch i386 rebuild " #alias mockel4it="setarch i686 mock --configdir=$mocketc -r el4it --arch i386 rebuild " @@ -94,6 +96,7 @@ alias mockel6xscl56=" mock --configdir=$mocketc -r el6xscl56 r alias mockel6xscl70=" mock --configdir=$mocketc -r el6xscl70 rebuild " alias mockel6xscl71=" mock --configdir=$mocketc -r el6xscl71 rebuild " alias mockel6xscl72=" mock --configdir=$mocketc -r el6xscl72 rebuild " +alias mockel6xscl73=" mock --configdir=$mocketc -r el6xscl73 rebuild " alias mockel7x=" mock --configdir=$mocketc -r el7x rebuild " alias mockel7xt=" mock --configdir=$mocketc -r el7xt rebuild " @@ -109,6 +112,7 @@ alias mockel7xscl56=" mock --configdir=$mocketc -r el7xscl56 r alias mockel7xscl70=" mock --configdir=$mocketc -r el7xscl70 rebuild " alias mockel7xscl71=" mock --configdir=$mocketc -r el7xscl71 rebuild " alias mockel7xscl72=" mock --configdir=$mocketc -r el7xscl72 rebuild " +alias mockel7xscl73=" mock --configdir=$mocketc -r el7xscl73 rebuild " alias mockdevi="setarch i686 mock -r fedora-devel-i386 rebuild " alias mockdevx=" mock -r fedora-devel-x86_64 rebuild " @@ -613,6 +617,32 @@ else fi } +# Build All distribution / version / 64bits for remi/scl-php73 +mockscl73x() +{ +quiet="" +if [ "$1" = "-q" ]; then + quiet="--quiet" + shift +fi + +if [ -f "$1" ]; then + for i in 27 28 + do + echo -n "$(date +%X) scl73 fc$i " + mock $quiet --configdir=$mocketc -r fc${i}xscl73 rebuild $1 && echo " Ok." || echo " Error !" + done + for i in 6 7 + do + echo -n "$(date +%X) scl73 el$i " + mock $quiet --configdir=$mocketc -r el${i}xscl73 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() { @@ -12,6 +12,9 @@ case $1 in ;; esac case $dep in +scl73el*) dep=${dep#scl73el} + type=enterprise + ;; scl72el*) dep=${dep#scl72el} type=enterprise ;; @@ -36,6 +39,9 @@ el*) dep=${dep#el} fc*) dep=${dep#fc} type=fedora ;; +scl73fc*) dep=${dep#scl73fc} + type=fedora + ;; scl72fc*) dep=${dep#scl72fc} type=fedora ;; @@ -191,6 +197,18 @@ if [ $1 = php72 ]; then opt=php72 shift fi +if [ $1 = glpi91 ]; then + opt=glpi91 + shift +fi +if [ $1 = glpi92 ]; then + opt=glpi92 + shift +fi +if [ $1 = glpi93 ]; then + opt=glpi93 + shift +fi if [ $1 = devs -o $1 = dev ]; then opt=devs shift @@ -341,6 +359,16 @@ elif [ $1 = scl71 ]; then getOneMock scl71el${i}x $opt done +elif [ $1 = scl73 ]; then + for i in 27 28 + do + getOneMock scl73fc${i}x $opt + done + for i in 6 7 + do + getOneMock scl73el${i}x $opt + done + elif [ $1 = scl72 ]; then for i in 25 26 27 28 do |