diff options
author | Remi Collet <remi@remirepo.net> | 2019-05-13 11:30:44 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-05-13 11:30:44 +0200 |
commit | 79dd89b5d9974e2ebe15a74dd8d4e050baecf91e (patch) | |
tree | cf6e75c83cbc9d333147c96c23ac86f184300dc7 /buildfct | |
parent | d84d24a599ee35814adcd92f3fbbb53fe960f15c (diff) |
add helpers for rpmfusion
Diffstat (limited to 'buildfct')
-rw-r--r-- | buildfct | 61 |
1 files changed, 58 insertions, 3 deletions
@@ -16,9 +16,11 @@ mocketc=/home/rpmbuild/SPECS/remirepo/tools/mock #alias mockfc26xscl72=" mock --configdir=$mocketc -r fc26xscl72 rebuild " alias mockfc27i=" setarch i686 mock --configdir=$mocketc -r fc27i --arch i686 rebuild " +alias mockfc27ir=" setarch i686 mock --configdir=$mocketc -r fc27ir --arch i686 rebuild " alias mockfc27i72="setarch i686 mock --configdir=$mocketc -r fc27i72 --arch i686 rebuild " alias mockfc27i73="setarch i686 mock --configdir=$mocketc -r fc27i73 --arch i686 rebuild " alias mockfc27x=" mock --configdir=$mocketc -r fc27x rebuild " +alias mockfc27xr=" mock --configdir=$mocketc -r fc27xr rebuild " alias mockfc27x72=" mock --configdir=$mocketc -r fc27x72 rebuild " alias mockfc27x73=" mock --configdir=$mocketc -r fc27x73 rebuild " alias mockfc27xt=" mock --configdir=$mocketc -r fc27xt rebuild " @@ -29,8 +31,10 @@ alias mockfc27xscl72=" mock --configdir=$mocketc -r fc27xscl72 alias mockfc27xscl73=" mock --configdir=$mocketc -r fc27xscl73 rebuild " alias mockfc28i=" setarch i686 mock --configdir=$mocketc -r fc28i --arch i686 rebuild " +alias mockfc28ir=" setarch i686 mock --configdir=$mocketc -r fc28ir --arch i686 rebuild " alias mockfc28i73="setarch i686 mock --configdir=$mocketc -r fc28i73 --arch i686 rebuild " alias mockfc28x=" mock --configdir=$mocketc -r fc28x rebuild " +alias mockfc28xr=" mock --configdir=$mocketc -r fc28xr rebuild " alias mockfc28x73=" mock --configdir=$mocketc -r fc28x73 rebuild " alias mockfc28xscl56=" mock --configdir=$mocketc -r fc28xscl56 rebuild " alias mockfc28xscl70=" mock --configdir=$mocketc -r fc28xscl70 rebuild " @@ -39,8 +43,10 @@ alias mockfc28xscl72=" mock --configdir=$mocketc -r fc28xscl72 alias mockfc28xscl73=" mock --configdir=$mocketc -r fc28xscl73 rebuild " 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 mockfc29x=" mock --configdir=$mocketc -r fc29x rebuild " +alias mockfc29xr=" mock --configdir=$mocketc -r fc29xr rebuild " alias mockfc29x73=" mock --configdir=$mocketc -r fc29x73 rebuild " alias mockfc29xscl56=" mock --configdir=$mocketc -r fc29xscl56 rebuild " alias mockfc29xscl70=" mock --configdir=$mocketc -r fc29xscl70 rebuild " @@ -49,7 +55,9 @@ alias mockfc29xscl72=" mock --configdir=$mocketc -r fc29xscl72 alias mockfc29xscl73=" mock --configdir=$mocketc -r fc29xscl73 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 mockfc30x=" mock --configdir=$mocketc -r fc30x rebuild " +alias mockfc30xr=" mock --configdir=$mocketc -r fc30xr 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 " @@ -82,6 +90,7 @@ alias mockel6xscl72=" mock --configdir=$mocketc -r el6xscl72 r alias mockel6xscl73=" mock --configdir=$mocketc -r el6xscl73 rebuild " alias mockel7x=" mock --configdir=$mocketc -r el7x rebuild " +alias mockel7xr=" mock --configdir=$mocketc -r el7xr rebuild " alias mockel7xt=" mock --configdir=$mocketc -r el7xt rebuild " alias mockel7x55=" mock --configdir=$mocketc -r el7x55 rebuild " alias mockel7t56=" mock --configdir=$mocketc -r el7t56 rebuild " @@ -133,6 +142,26 @@ else fi } +# Build All distribution / version / 32bits for remi with RPMFusion +mockallir() +{ +quiet="" +if [ "$1" = "-q" ]; then + quiet="--quiet" + shift +fi + +if [ -f "$1" ]; then + for i in 30 29 28 27 + do + echo -n "$(date +%X) fc$i " + setarch i686 mock $quiet --configdir=$mocketc -r fc${i}ir --arch i686 rebuild $1 && echo " Ok." || echo " Error !" + done +else + echo "file not found '$1'" +fi +} + # Build All distribution (PHP 7) / version / 32bits for remi mock7i() { @@ -349,6 +378,32 @@ else fi } +# Build All distribution / version / 64bits for remi with RPMFusion +mockallxr() +{ +quiet="" +if [ "$1" = "-q" ]; then + quiet="--quiet" + shift +fi + +if [ -f "$1" ]; then + for i in 29 27 28 30 + do + echo -n "$(date +%X) fc$i " + mock $quiet --configdir=$mocketc -r fc${i}xr rebuild $1 && echo " Ok." || echo " Error !" + done + for i in 7 + do + echo -n "$(date +%X) el$i " + mock $quiet --configdir=$mocketc -r el${i}xr rebuild $1 && echo " Ok." || echo " Error !" + done + date +%X +else + echo "file not found '$1'" +fi +} + # Build All distribution (PHP 7) / version / 64bits for remi mock7x() { @@ -719,7 +774,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 29 27 28 + for i in 29 30 27 28 do echo -n "$(date +%X) scl73 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl73 rebuild $1 && echo " Ok." || echo " Error !" @@ -745,7 +800,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 29 28 27 + for i in 29 28 27 30 do echo -n "$(date +%X) scl72 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl72 rebuild $1 && echo " Ok." || echo " Error !" @@ -771,7 +826,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 29 28 27 + for i in 29 28 27 30 do echo -n "$(date +%X) scl71 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl71 rebuild $1 && echo " Ok." || echo " Error !" |