diff options
author | Remi Collet <remi@remirepo.net> | 2021-02-24 17:34:36 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-02-24 17:34:36 +0100 |
commit | 49bbb3f12f2b2860b715defb24013fa328e26d88 (patch) | |
tree | 5fc2bea6169b89571d565b2aa14a95b65259e762 /buildfct | |
parent | 4f6a63efbd9fe2a8e6828b9861a89f6be5bea2fb (diff) |
F34 helpers
Diffstat (limited to 'buildfct')
-rw-r--r-- | buildfct | 76 |
1 files changed, 25 insertions, 51 deletions
@@ -55,6 +55,18 @@ alias mockfc33xscl73=" mock --configdir=$mocketc -r fc33xscl73 alias mockfc33xscl74=" mock --configdir=$mocketc -r fc33xscl74 rebuild " alias mockfc33xscl80=" mock --configdir=$mocketc -r fc33xscl80 rebuild " +alias mockfc34x=" mock --configdir=$mocketc -r fc34x rebuild " +alias mockfc34xd=" mock --configdir=$mocketc -r fc34xd rebuild " +alias mockfc34xr=" mock --configdir=$mocketc -r fc34xr rebuild " +alias mockfc34x80=" mock --configdir=$mocketc -r fc34x80 rebuild " +alias mockfc34xscl56=" mock --configdir=$mocketc -r fc34xscl56 rebuild " +alias mockfc34xscl70=" mock --configdir=$mocketc -r fc34xscl70 rebuild " +alias mockfc34xscl71=" mock --configdir=$mocketc -r fc34xscl71 rebuild " +alias mockfc34xscl72=" mock --configdir=$mocketc -r fc34xscl72 rebuild " +alias mockfc34xscl73=" mock --configdir=$mocketc -r fc34xscl73 rebuild " +alias mockfc34xscl74=" mock --configdir=$mocketc -r fc34xscl74 rebuild " +alias mockfc34xscl80=" mock --configdir=$mocketc -r fc34xscl80 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 " @@ -134,7 +146,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 33 32 31 + for i in 33 34 32 do echo -n "$(date +%X) fc$i " mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo " Ok." || echo " Error !" @@ -160,7 +172,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 33 32 31 + for i in 34 33 32 do echo -n "$(date +%X) fc$i " mock $quiet --configdir=$mocketc -r fc${i}xr rebuild $1 && echo " Ok." || echo " Error !" @@ -186,7 +198,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 33 32 31 + for i in 33 32 34 do echo -n "$(date +%X) fc$i " mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo " Ok." || echo " Error !" @@ -250,7 +262,7 @@ fi if [ -f "$1" ]; then date +%X pids="" - for i in 32 31 33 + for i in 32 33 34 do echo -n "" (mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo "$(date +%X) (7x) fc$i Ok." || echo "fc$1 Error !")& @@ -283,7 +295,7 @@ fi if [ -f "$1" ]; then date +%X pids="" - for i in 32 31 33 + for i in 32 33 34 do echo -n "" (mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo "$(date +%X) (7x) fc$i Ok." || echo "fc$1 Error !")& @@ -305,39 +317,6 @@ else fi } -# Build All distribution / version / noarch for remi using PHP >= 7.2 -mock72m() -{ -quiet="--quiet" -if [ "$1" = "-q" ]; then - shift -fi - -if [ -f "$1" ]; then - date +%X - pids="" - for i in 31 - 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 7 -# 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() { @@ -495,11 +474,6 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 31 - do - echo -n "$(date +%X) 74 fc$i " - mock $quiet --configdir=$mocketc -r fc${i}x74 rebuild "$@" && echo " Ok." || echo " Error !" - done for i in 8 7 do echo -n "$(date +%X) 74 el$i " @@ -521,7 +495,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 31 32 33 + for i in 32 33 34 do echo -n "$(date +%X) 80 fc$i " mock $quiet --configdir=$mocketc -r fc${i}x80 rebuild "$@" && echo " Ok." || echo " Error !" @@ -547,7 +521,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 33 32 31 + for i in 33 34 32 do echo -n "$(date +%X) scl80 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl80 rebuild $1 && echo " Ok." || echo " Error !" @@ -573,7 +547,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 33 32 31 + for i in 33 32 34 do echo -n "$(date +%X) scl74 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl74 rebuild $1 && echo " Ok." || echo " Error !" @@ -599,7 +573,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 33 32 31 + for i in 33 34 32 do echo -n "$(date +%X) scl73 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl73 rebuild $1 && echo " Ok." || echo " Error !" @@ -625,7 +599,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 33 32 31 + for i in 33 32 34 do echo -n "$(date +%X) scl72 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl72 rebuild $1 && echo " Ok." || echo " Error !" @@ -651,7 +625,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 33 32 31 + for i in 33 32 34 do echo -n "$(date +%X) scl71 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl71 rebuild $1 && echo " Ok." || echo " Error !" @@ -677,7 +651,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 33 32 31 + for i in 33 34 32 do echo -n "$(date +%X) scl70 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl70 rebuild $1 && echo " Ok." || echo " Error !" @@ -703,7 +677,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 33 32 31 + for i in 33 32 34 do echo -n "$(date +%X) scl56 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl56 rebuild $1 && echo " Ok." || echo " Error !" |