From e44c4ab788e2d3f6cdc472e2b8df7bd20c8d1205 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 18 Aug 2020 16:27:06 +0200 Subject: F33 (wip) --- mkallrepo | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mkallrepo') diff --git a/mkallrepo b/mkallrepo index c442df0..8e0f9b9 100755 --- a/mkallrepo +++ b/mkallrepo @@ -10,7 +10,7 @@ TMPSIG2020=$(mktemp -t XXXXXXXX.2020) cd /home/rpmbuild/site/rpms -for dep in fedora/{29,30,31,32}/*/{i386,x86_64} enterprise/{6,7,8}/*/{i386,x86_64,armhfp,aarch64} +for dep in fedora/{30,31,32,33}/*/{i386,x86_64} enterprise/{6,7,8}/*/{i386,x86_64,armhfp,aarch64} do [[ $dep =~ /modular ]] && continue @@ -36,13 +36,13 @@ find SRPMS -name \*.rpm -a -newer SRPMS/repodata -print >>$TMPSIG if [ -s $TMPSIG ]; then echo "À signer:"; sort < $TMPSIG - grep fc29 $TMPSIG > $TMPSIG3 - grep el8 $TMPSIG >> $TMPSIG3 + grep el8 $TMPSIG > $TMPSIG3 grep fc30 $TMPSIG > $TMPSIG4 grep fc31 $TMPSIG >> $TMPSIG4 grep fc32 $TMPSIG > $TMPSIG2020 + grep fc33 $TMPSIG >> $TMPSIG2020 grep src.rpm $TMPSIG >> $TMPSIG2020 if [ -s $TMPSIG2020 ]; then @@ -66,7 +66,7 @@ if [ -s $TMPSIG ]; then else exit 1 fi fi - grep -v fc29 $TMPSIG | grep -v fc30 | grep -v fc31 | grep -v fc32 | grep -v src.rpm | grep -v el8 > $TMPSIG1 + grep -v fc3 $TMPSIG | grep -v src.rpm | grep -v el8 > $TMPSIG1 if [ -s $TMPSIG1 ]; then echo "== Signature des $(cat $TMPSIG1 | wc -l) nouveaux RPM (old) ==" if rpmsign --define '_gpg_path /home/remi/.gnupgrpm' --define "_gpg_name Remi Collet" --addsign $(cat $TMPSIG1) @@ -92,7 +92,7 @@ then echo "== Création des liens (noarch) ==" else echo "Rien à lier." fi -for dep in SRPMS fedora/{29,30,31,32}/*/{i386,x86_64} enterprise/{6,7,8}/*/{i386,x86_64,armhfp,aarch64} +for dep in SRPMS fedora/{30,31,32,33}/*/{i386,x86_64} enterprise/{6,7,8}/*/{i386,x86_64,armhfp,aarch64} do [[ $dep =~ /modular ]] && continue -- cgit