From 0b3fcb8e96597b16c25166fb926cffadaec76523 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 31 Aug 2014 07:55:19 +0200 Subject: prepare repository for Fedora 21 --- buildfct | 7 +++++-- mkallrepo | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/buildfct b/buildfct index 387994f..948339b 100644 --- a/buildfct +++ b/buildfct @@ -80,6 +80,9 @@ alias mockfc20x56=" mock --configdir=$mocketc -r fc20x56 alias mockfc20xscl56=" mock --configdir=$mocketc -r fc20xscl56 rebuild " alias mockfc20xd=" mock --configdir=$mocketc -r fc20xd rebuild " +alias mockfc21i=" setarch i686 mock --configdir=$mocketc -r fc21i --arch i686 rebuild " +alias mockfc21x=" mock --configdir=$mocketc -r fc21x 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 " @@ -125,7 +128,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in $(seq 20 -1 17) + for i in $(seq 21 -1 17) do echo -n "$(date +%X) fc$i " setarch i686 mock $quiet --configdir=$mocketc -r fc${i}i --arch i686 rebuild $1 && echo " Ok." || echo " Error !" @@ -239,7 +242,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in $(seq 20 -1 17) + for i in $(seq 21 -1 17) do echo -n "$(date +%X) fc$i " mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo " Ok." || echo " Error !" diff --git a/mkallrepo b/mkallrepo index b1179f6..d7087c4 100755 --- a/mkallrepo +++ b/mkallrepo @@ -6,7 +6,7 @@ TMPLNK=$(mktemp) cd /home/rpmbuild/site/rpms #for dep in *.{i386,ppc,ppc64,x86_64} fedora/*/*/{i386,ppc,ppc64,x86_64} -for dep in fedora/{13,14,15,16,17,18,19,20}/*/{i386,x86_64} enterprise/{5,6,7}/*/{i386,x86_64} +for dep in fedora/{13,14,15,16,17,18,19,20,21}/*/{i386,x86_64} enterprise/{5,6,7}/*/{i386,x86_64} do arch=${dep##*/} @@ -51,7 +51,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/{13,14,15,16,17,18,19,20}/*/{i386,x86_64} enterprise/{5,6,7}/*/{i386,x86_64} +for dep in SRPMS fedora/{13,14,15,16,17,18,19,20,21}/*/{i386,x86_64} enterprise/{5,6,7}/*/{i386,x86_64} do if [ -d $dep/repodata -a $dep -nt $dep/repodata -a ! -f $dep/.closed ] then echo "== Actualisation de $dep ==" -- cgit