diff options
-rw-r--r-- | buildfct | 40 | ||||
-rwxr-xr-x | getmock | 14 | ||||
-rwxr-xr-x | mkallrepo | 4 |
3 files changed, 24 insertions, 34 deletions
@@ -61,15 +61,15 @@ alias mockfc26xscl71=" mock --configdir=$mocketc -r fc26xscl71 #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 mockel5i55="setarch i686 mock --configdir=$mocketc -r el5i55 --arch i386 rebuild " -alias mockel5i56="setarch i686 mock --configdir=$mocketc -r el5i56 --arch i386 rebuild " -alias mockel5x=" mock --configdir=$mocketc -r el5x rebuild " -alias mockel5xt=" mock --configdir=$mocketc -r el5xt rebuild " -alias mockel5x55=" mock --configdir=$mocketc -r el5x55 rebuild " -alias mockel5t56=" mock --configdir=$mocketc -r el5t56 rebuild " -alias mockel5x56=" mock --configdir=$mocketc -r el5x56 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 mockel5i55="setarch i686 mock --configdir=$mocketc -r el5i55 --arch i386 rebuild " +#alias mockel5i56="setarch i686 mock --configdir=$mocketc -r el5i56 --arch i386 rebuild " +#alias mockel5x=" mock --configdir=$mocketc -r el5x rebuild " +#alias mockel5xt=" mock --configdir=$mocketc -r el5xt rebuild " +#alias mockel5x55=" mock --configdir=$mocketc -r el5x55 rebuild " +#alias mockel5t56=" mock --configdir=$mocketc -r el5t56 rebuild " +#alias mockel5x56=" mock --configdir=$mocketc -r el5x56 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 " @@ -123,8 +123,6 @@ if [ -f "$1" ]; then done echo -n "$(date +%X) el6 " 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=$mocketc -r el5i --arch i386 rebuild $1 && echo " Ok." || echo " Error !" date +%X else echo "file not found p$1'" @@ -143,8 +141,6 @@ fi if [ -f "$1" ]; then echo -n "$(date +%X) el6 " 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=$mocketc -r el5i --arch i386 rebuild $1 && echo " Ok." || echo " Error !" date +%X else echo "file not found p$1'" @@ -163,8 +159,6 @@ fi if [ -f "$1" ]; then echo -n "$(date +%X) 55 el6 " setarch i686 mock $quiet --configdir=$mocketc -r el6i55 --arch i686 rebuild $1 && echo " Ok." || echo " Error !" - echo -n "$(date +%X) 55 el5 " - setarch i686 mock $quiet --configdir=$mocketc -r el5i55 --arch i386 rebuild $1 && echo " Ok." || echo " Error !" date +%X else echo "file not found p$1'" @@ -183,8 +177,6 @@ fi if [ -f "$1" ]; then echo -n "$(date +%X) 56 el6 " setarch i686 mock $quiet --configdir=$mocketc -r el6i56 --arch i686 rebuild $1 && echo " Ok." || echo " Error !" - echo -n "$(date +%X) 56 el5 " - setarch i686 mock $quiet --configdir=$mocketc -r el5i56 --arch i386 rebuild $1 && echo " Ok." || echo " Error !" date +%X else echo "file not found p$1'" @@ -254,8 +246,6 @@ if [ -f "$1" ]; then done 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'" @@ -277,7 +267,7 @@ if [ -f "$1" ]; then echo -n "$(date +%X) fc$i " mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo " Ok." || echo " Error !" done - for i in 7 6 5 + for i in 7 6 do echo -n "$(date +%X) el$i " mock $quiet --configdir=$mocketc -r el${i}x rebuild $1 && echo " Ok." || echo " Error !" @@ -298,7 +288,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 7 6 5 + for i in 7 6 do echo -n "$(date +%X) el$i " mock $quiet --configdir=$mocketc -r el${i}x rebuild $1 && echo " Ok." || echo " Error !" @@ -326,7 +316,7 @@ if [ -f "$1" ]; then (mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo "$(date +%X) (56) fc$i Ok." || echo "fc$1 Error !")& pids="$pids $!" done - for i in 7 6 5 + for i in 7 6 do echo -n "" (mock $quiet --configdir=$mocketc -r el${i}x56 rebuild $1 && echo "$(date +%X) (56) el$i Ok." || echo "el$i Error !")& @@ -385,7 +375,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 7 6 5 + for i in 7 6 do echo -n "$(date +%X) 55 el$i " mock $quiet --configdir=$mocketc -r el${i}x55 rebuild $1 && echo " Ok." || echo " Error !" @@ -406,7 +396,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 7 6 5 + for i in 7 6 do echo -n "$(date +%X) 56 el$i " mock $quiet --configdir=$mocketc -r el${i}x56 rebuild $1 && echo " Ok." || echo " Error !" @@ -614,7 +604,7 @@ if [ -f "$1" ]; then 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 7 6 5 + for i in 7 6 do echo -n "$(date +%X) test-el$i " mock $quiet --configdir=$mocketc -r el${i}xt rebuild $1 && echo " Ok." || echo " Error !" @@ -188,12 +188,12 @@ if [ $1 = all ]; then do getOneMock fc${i}i $opt done - for i in 5 6 + for i in 6 do getOneMock el${i}i $opt done elif [ $1 = all55 ]; then - for n in 5 6 + for n in 6 do getOneMock el${n}i php55 getOneMock el${n}x php55 @@ -202,7 +202,7 @@ elif [ $1 = all55 ]; then getOneMock el${n}x php55 elif [ $1 = all56 ]; then - for n in 5 6 + for n in 6 do getOneMock el${n}i php56 getOneMock el${n}x php56 @@ -239,7 +239,7 @@ elif [ $1 = all71 ]; then getOneMock el${n}x $opt elif [ $1 = all54 ]; then - for n in 5 6 + for n in 6 do getOneMock el${n}i remi getOneMock el${n}x remi @@ -252,7 +252,7 @@ elif [ $1 = for56 ]; then do getOneMock fc${i}x remi done - for i in 5 6 7 + for i in 6 7 do getOneMock el${i}x test done @@ -262,7 +262,7 @@ elif [ $1 = for55 ]; then do getOneMock fc${i}x remi done - for i in 5 6 7 + for i in 6 7 do getOneMock el${i}x test done @@ -272,7 +272,7 @@ elif [ $1 = allx ]; then do getOneMock fc${i}x $opt done - for i in 5 6 7 + for i in 6 7 do getOneMock el${i}x $opt done @@ -7,7 +7,7 @@ TMPSIG2=$(mktemp) cd /home/rpmbuild/site/rpms #for dep in *.{i386,ppc,ppc64,x86_64} fedora/*/*/{i386,ppc,ppc64,x86_64} -for dep in fedora/{23,24,25,26}/*/{i386,x86_64} enterprise/{5,6,7}/*/{i386,x86_64} +for dep in fedora/{23,24,25,26}/*/{i386,x86_64} enterprise/{6,7}/*/{i386,x86_64} do arch=${dep##*/} @@ -66,7 +66,7 @@ else echo "Rien à lier." fi #for dep in *.{i386,ppc,ppc64,x86_64} fedora/*/*/{i386,ppc,ppc64,x86_64} -for dep in SRPMS fedora/{23,24,25,26}/*/{i386,x86_64} enterprise/{5,6,7}/*/{i386,x86_64} +for dep in SRPMS fedora/{23,24,25,26}/*/{i386,x86_64} enterprise/{6,7}/*/{i386,x86_64} do if [ -d $dep/repodata -a $dep -nt $dep/repodata -a ! -f $dep/.closed ] then echo "== Actualisation de $dep ==" |