diff options
author | Remi Collet <fedora@famillecollet.com> | 2013-03-20 14:00:19 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2013-03-20 14:00:19 +0100 |
commit | b1878fec8fa343790674cb7c2c7500529246c2b5 (patch) | |
tree | ff8a8826d61c2344361785ff0fcd282e2b0031dc /buildfct | |
parent | cae031b31bdf47fd9a0060a8abc7b01daee6b013 (diff) |
save mock configuration files
Diffstat (limited to 'buildfct')
-rw-r--r-- | buildfct | 179 |
1 files changed, 90 insertions, 89 deletions
@@ -3,83 +3,84 @@ alias build='rpmbuild --define "_source_filedigest_algorithm 0" --define "_ alias msrpm='rpmbuild -bs --define "_source_filedigest_algorithm 0" --define "_specdir $(pwd)" --define "_sourcedir $(pwd)" --define "dist .remi" $(basename $(pwd)).spec' alias rhpkg='echo NO PLEASE, use fedpkg' +mocketc=/home/rpmbuild/SPECS/remirepo/tools/mock #alias mockfc3="setarch i686 mock -r fc3 --arch i386 rebuild " #alias mockfc4="setarch i686 mock -r fc4 --arch i386 rebuild " #alias mockfc5="setarch i686 mock -r fc5 --arch i386 rebuild " -#alias mockfc6x=" mock --configdir=/var/lib/mock/etc -r fc6x rebuild " -#alias mockfc7i="setarch i686 mock --configdir=/var/lib/mock/etc -r fc7i --arch i386 rebuild " -#alias mockfc7x=" mock --configdir=/var/lib/mock/etc -r fc7x rebuild " - -#alias mockfc6i="setarch i686 mock --configdir=/var/lib/mock/etc -r fc6i --arch i386 rebuild " -#alias mockfc8i="setarch i686 mock --configdir=/var/lib/mock/etc -r fc8i --arch i386 rebuild " -#alias mockfc8x=" mock --configdir=/var/lib/mock/etc -r fc8x rebuild " -#alias mockfc9i="setarch i686 mock --configdir=/var/lib/mock/etc -r fc9i --arch i386 rebuild " -#alias mockfc9x=" mock --configdir=/var/lib/mock/etc -r fc9x rebuild " -#alias mockfc9it="setarch i686 mock --configdir=/var/lib/mock/etc -r fc9it --arch i386 rebuild " -#alias mockfc9xt=" mock --configdir=/var/lib/mock/etc -r fc9xt rebuild " -#alias mockfc10i="setarch i686 mock --configdir=/var/lib/mock/etc -r fc10i --arch i386 rebuild " -#alias mockfc10x=" mock --configdir=/var/lib/mock/etc -r fc10x rebuild " -#alias mockfc10it="setarch i686 mock --configdir=/var/lib/mock/etc -r fc10it --arch i386 rebuild " -#alias mockfc10xt=" mock --configdir=/var/lib/mock/etc -r fc10xt rebuild " - -#alias mockfc11i="setarch i686 mock --configdir=/var/lib/mock/etc -r fc11i --arch i586 rebuild " -#alias mockfc11x=" mock --configdir=/var/lib/mock/etc -r fc11x rebuild " -#alias mockfc11it="setarch i686 mock --configdir=/var/lib/mock/etc -r fc11it --arch i586 rebuild " -#alias mockfc11xt=" mock --configdir=/var/lib/mock/etc -r fc11xt rebuild " - -#alias mockfc12i="setarch i686 mock --configdir=/var/lib/mock/etc -r fc12i --arch i686 rebuild " -#alias mockfc12it="setarch i686 mock --configdir=/var/lib/mock/etc -r fc12it --arch i686 rebuild " -#alias mockfc12x=" mock --configdir=/var/lib/mock/etc -r fc12x rebuild " -#alias mockfc12xt=" mock --configdir=/var/lib/mock/etc -r fc12xt rebuild " - -alias mockfc13i="setarch i686 mock --configdir=/var/lib/mock/etc -r fc13i --arch i686 rebuild " -alias mockfc13it="setarch i686 mock --configdir=/var/lib/mock/etc -r fc13it --arch i686 rebuild " -alias mockfc13x=" mock --configdir=/var/lib/mock/etc -r fc13x rebuild " -alias mockfc13xt=" mock --configdir=/var/lib/mock/etc -r fc13xt rebuild " - -alias mockfc14i="setarch i686 mock --configdir=/var/lib/mock/etc -r fc14i --arch i686 rebuild " -alias mockfc14it="setarch i686 mock --configdir=/var/lib/mock/etc -r fc14it --arch i686 rebuild " -alias mockfc14x=" mock --configdir=/var/lib/mock/etc -r fc14x rebuild " -alias mockfc14xt=" mock --configdir=/var/lib/mock/etc -r fc14xt rebuild " - -alias mockfc15i="setarch i686 mock --configdir=/var/lib/mock/etc -r fc15i --arch i686 rebuild " -alias mockfc15it="setarch i686 mock --configdir=/var/lib/mock/etc -r fc15it --arch i686 rebuild " -alias mockfc15x=" mock --configdir=/var/lib/mock/etc -r fc15x rebuild " -alias mockfc15xt=" mock --configdir=/var/lib/mock/etc -r fc15xt rebuild " - -alias mockfc16i="setarch i686 mock --configdir=/var/lib/mock/etc -r fc16i --arch i686 rebuild " -alias mockfc16it="setarch i686 mock --configdir=/var/lib/mock/etc -r fc16it --arch i686 rebuild " -alias mockfc16x=" mock --configdir=/var/lib/mock/etc -r fc16x rebuild " -alias mockfc16xt=" mock --configdir=/var/lib/mock/etc -r fc16xt rebuild " -alias mockfc16xd=" mock --configdir=/var/lib/mock/etc -r fc16xd rebuild " - -alias mockfc17i="setarch i686 mock --configdir=/var/lib/mock/etc -r fc17i --arch i686 rebuild " -alias mockfc17it="setarch i686 mock --configdir=/var/lib/mock/etc -r fc17it --arch i686 rebuild " -alias mockfc17x=" mock --configdir=/var/lib/mock/etc -r fc17x rebuild " -alias mockfc17xt=" mock --configdir=/var/lib/mock/etc -r fc17xt rebuild " -alias mockfc17xd=" mock --configdir=/var/lib/mock/etc -r fc17xd rebuild " - -alias mockfc18i="setarch i686 mock --configdir=/var/lib/mock/etc -r fc18i --arch i686 rebuild " -alias mockfc18it="setarch i686 mock --configdir=/var/lib/mock/etc -r fc18it --arch i686 rebuild " -alias mockfc18x=" mock --configdir=/var/lib/mock/etc -r fc18x rebuild " -alias mockfc18xt=" mock --configdir=/var/lib/mock/etc -r fc18xt rebuild " -alias mockfc18xd=" mock --configdir=/var/lib/mock/etc -r fc18xd rebuild " - -alias mockel4i="setarch i686 mock --configdir=/var/lib/mock/etc -r el4i --arch i386 rebuild " -alias mockel4it="setarch i686 mock --configdir=/var/lib/mock/etc -r el4it --arch i386 rebuild " -alias mockel4x=" mock --configdir=/var/lib/mock/etc -r el4x rebuild " -alias mockel4xt=" mock --configdir=/var/lib/mock/etc -r el4xt rebuild " - -alias mockel5i="setarch i686 mock --configdir=/var/lib/mock/etc -r el5i --arch i386 rebuild " -alias mockel5it="setarch i686 mock --configdir=/var/lib/mock/etc -r el5it --arch i386 rebuild " -alias mockel5x=" mock --configdir=/var/lib/mock/etc -r el5x rebuild " -alias mockel5xt=" mock --configdir=/var/lib/mock/etc -r el5xt rebuild " -alias mockel53=" mock --configdir=/var/lib/mock/etc -r el53 rebuild " - -alias mockel6i="setarch i686 mock --configdir=/var/lib/mock/etc -r el6i --arch i686 rebuild " -alias mockel6it="setarch i686 mock --configdir=/var/lib/mock/etc -r el6it --arch i686 rebuild " -alias mockel6x=" mock --configdir=/var/lib/mock/etc -r el6x rebuild " -alias mockel6xt=" mock --configdir=/var/lib/mock/etc -r el6xt rebuild " +#alias mockfc6x=" mock --configdir=$mocketc -r fc6x rebuild " +#alias mockfc7i="setarch i686 mock --configdir=$mocketc -r fc7i --arch i386 rebuild " +#alias mockfc7x=" mock --configdir=$mocketc -r fc7x rebuild " + +#alias mockfc6i="setarch i686 mock --configdir=$mocketc -r fc6i --arch i386 rebuild " +#alias mockfc8i="setarch i686 mock --configdir=$mocketc -r fc8i --arch i386 rebuild " +#alias mockfc8x=" mock --configdir=$mocketc -r fc8x rebuild " +#alias mockfc9i="setarch i686 mock --configdir=$mocketc -r fc9i --arch i386 rebuild " +#alias mockfc9x=" mock --configdir=$mocketc -r fc9x rebuild " +#alias mockfc9it="setarch i686 mock --configdir=$mocketc -r fc9it --arch i386 rebuild " +#alias mockfc9xt=" mock --configdir=$mocketc -r fc9xt rebuild " +#alias mockfc10i="setarch i686 mock --configdir=$mocketc -r fc10i --arch i386 rebuild " +#alias mockfc10x=" mock --configdir=$mocketc -r fc10x rebuild " +#alias mockfc10it="setarch i686 mock --configdir=$mocketc -r fc10it --arch i386 rebuild " +#alias mockfc10xt=" mock --configdir=$mocketc -r fc10xt rebuild " + +#alias mockfc11i="setarch i686 mock --configdir=$mocketc -r fc11i --arch i586 rebuild " +#alias mockfc11x=" mock --configdir=$mocketc -r fc11x rebuild " +#alias mockfc11it="setarch i686 mock --configdir=$mocketc -r fc11it --arch i586 rebuild " +#alias mockfc11xt=" mock --configdir=$mocketc -r fc11xt rebuild " + +#alias mockfc12i="setarch i686 mock --configdir=$mocketc -r fc12i --arch i686 rebuild " +#alias mockfc12it="setarch i686 mock --configdir=$mocketc -r fc12it --arch i686 rebuild " +#alias mockfc12x=" mock --configdir=$mocketc -r fc12x rebuild " +#alias mockfc12xt=" mock --configdir=$mocketc -r fc12xt rebuild " + +alias mockfc13i="setarch i686 mock --configdir=$mocketc -r fc13i --arch i686 rebuild " +alias mockfc13it="setarch i686 mock --configdir=$mocketc -r fc13it --arch i686 rebuild " +alias mockfc13x=" mock --configdir=$mocketc -r fc13x rebuild " +alias mockfc13xt=" mock --configdir=$mocketc -r fc13xt rebuild " + +alias mockfc14i="setarch i686 mock --configdir=$mocketc -r fc14i --arch i686 rebuild " +alias mockfc14it="setarch i686 mock --configdir=$mocketc -r fc14it --arch i686 rebuild " +alias mockfc14x=" mock --configdir=$mocketc -r fc14x rebuild " +alias mockfc14xt=" mock --configdir=$mocketc -r fc14xt rebuild " + +alias mockfc15i="setarch i686 mock --configdir=$mocketc -r fc15i --arch i686 rebuild " +alias mockfc15it="setarch i686 mock --configdir=$mocketc -r fc15it --arch i686 rebuild " +alias mockfc15x=" mock --configdir=$mocketc -r fc15x rebuild " +alias mockfc15xt=" mock --configdir=$mocketc -r fc15xt rebuild " + +alias mockfc16i="setarch i686 mock --configdir=$mocketc -r fc16i --arch i686 rebuild " +alias mockfc16it="setarch i686 mock --configdir=$mocketc -r fc16it --arch i686 rebuild " +alias mockfc16x=" mock --configdir=$mocketc -r fc16x rebuild " +alias mockfc16xt=" mock --configdir=$mocketc -r fc16xt rebuild " +alias mockfc16xd=" mock --configdir=$mocketc -r fc16xd rebuild " + +alias mockfc17i="setarch i686 mock --configdir=$mocketc -r fc17i --arch i686 rebuild " +alias mockfc17it="setarch i686 mock --configdir=$mocketc -r fc17it --arch i686 rebuild " +alias mockfc17x=" mock --configdir=$mocketc -r fc17x rebuild " +alias mockfc17xt=" mock --configdir=$mocketc -r fc17xt rebuild " +alias mockfc17xd=" mock --configdir=$mocketc -r fc17xd rebuild " + +alias mockfc18i="setarch i686 mock --configdir=$mocketc -r fc18i --arch i686 rebuild " +alias mockfc18it="setarch i686 mock --configdir=$mocketc -r fc18it --arch i686 rebuild " +alias mockfc18x=" mock --configdir=$mocketc -r fc18x rebuild " +alias mockfc18xt=" mock --configdir=$mocketc -r fc18xt rebuild " +alias mockfc18xd=" mock --configdir=$mocketc -r fc18xd 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 " +alias mockel4x=" mock --configdir=$mocketc -r el4x rebuild " +alias mockel4xt=" mock --configdir=$mocketc -r el4xt rebuild " + +alias mockel5i="setarch i686 mock --configdir=$mocketc -r el5i --arch i386 rebuild " +alias mockel5it="setarch i686 mock --configdir=$mocketc -r el5it --arch i386 rebuild " +alias mockel5x=" mock --configdir=$mocketc -r el5x rebuild " +alias mockel5xt=" mock --configdir=$mocketc -r el5xt rebuild " +alias mockel53=" mock --configdir=$mocketc -r el53 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 mockel6x=" mock --configdir=$mocketc -r el6x rebuild " +alias mockel6xt=" mock --configdir=$mocketc -r el6xt rebuild " alias mockdevi="setarch i686 mock -r fedora-devel-i386 rebuild " alias mockdevx=" mock -r fedora-devel-x86_64 rebuild " @@ -96,12 +97,12 @@ if [ -f "$1" ]; then for i in $(seq 18 -1 13) do echo -n $(date +%X) fc$i - setarch i686 mock $quiet --configdir=/var/lib/mock/etc -r fc${i}i --arch i686 rebuild $1 && echo " Ok." || echo " Error !" + setarch i686 mock $quiet --configdir=$mocketc -r fc${i}i --arch i686 rebuild $1 && echo " Ok." || echo " Error !" done echo -n $(date +%X) el6 - setarch i686 mock $quiet --configdir=/var/lib/mock/etc -r el6i --arch i686 rebuild $1 && echo " Ok." || echo " Error !" + setarch i686 mock $quiet --configdir=$mocketc -r el6i --arch i686 rebuild $1 && echo " Ok." || echo " Error !" echo -n $(date +%X) el5 - setarch i686 mock $quiet --configdir=/var/lib/mock/etc -r el5i --arch i386 rebuild $1 && echo " Ok." || echo " Error !" + setarch i686 mock $quiet --configdir=$mocketc -r el5i --arch i386 rebuild $1 && echo " Ok." || echo " Error !" date +%X else echo "file not found p$1'" @@ -119,13 +120,13 @@ fi if [ -f "$1" ]; then for i in $(seq 18 -1 17) do - echo -n $(date +%X) fc$i - setarch i686 mock $quiet --configdir=/var/lib/mock/etc -r fc${i}it --arch i686 rebuild $1 && echo " Ok." || echo " Error !" + echo -n $(date +%X) test-fc$i + setarch i686 mock $quiet --configdir=$mocketc -r fc${i}it --arch i686 rebuild $1 && echo " Ok." || echo " Error !" done - echo -n $(date +%X) el6 - setarch i686 mock $quiet --configdir=/var/lib/mock/etc -r el6it --arch i686 rebuild $1 && echo " Ok." || echo " Error !" - echo -n $(date +%X) el5 - setarch i686 mock $quiet --configdir=/var/lib/mock/etc -r el5it --arch i386 rebuild $1 && echo " Ok." || echo " Error !" + echo -n $(date +%X) test-el6 + setarch i686 mock $quiet --configdir=$mocketc -r el6it --arch i686 rebuild $1 && echo " Ok." || echo " Error !" + echo -n $(date +%X) test-el5 + setarch i686 mock $quiet --configdir=$mocketc -r el5it --arch i386 rebuild $1 && echo " Ok." || echo " Error !" date +%X else echo "file not found p$1'" @@ -144,12 +145,12 @@ if [ -f "$1" ]; then for i in $(seq 18 -1 13) do echo -n $(date +%X) fc$i - mock $quiet --configdir=/var/lib/mock/etc -r fc${i}x rebuild $1 && echo " Ok." || echo " Error !" + mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo " Ok." || echo " Error !" done for i in $(seq 6 -1 5) do echo -n $(date +%X) el$i - mock $quiet --configdir=/var/lib/mock/etc -r el${i}x rebuild $1 && echo " Ok." || echo " Error !" + mock $quiet --configdir=$mocketc -r el${i}x rebuild $1 && echo " Ok." || echo " Error !" done date +%X else @@ -168,13 +169,13 @@ fi if [ -f "$1" ]; then for i in $(seq 18 -1 17) do - echo -n $(date +%X) fc$i - mock $quiet --configdir=/var/lib/mock/etc -r fc${i}xt rebuild $1 && echo " Ok." || echo " Error !" + echo -n $(date +%X) test-fc$i + mock $quiet --configdir=$mocketc -r fc${i}xt rebuild $1 && echo " Ok." || echo " Error !" done for i in $(seq 6 -1 5) do - echo -n $(date +%X) el$i - mock $quiet --configdir=/var/lib/mock/etc -r el${i}xt rebuild $1 && echo " Ok." || echo " Error !" + echo -n $(date +%X) test-el$i + mock $quiet --configdir=$mocketc -r el${i}xt rebuild $1 && echo " Ok." || echo " Error !" done date +%X else |