From 8ba471302e1a483b475b91bd57704b5dce5c686c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 26 Aug 2019 17:23:18 +0200 Subject: F31 build helpers --- mkallrepo | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mkallrepo') diff --git a/mkallrepo b/mkallrepo index 63507fb..fc0cf27 100755 --- a/mkallrepo +++ b/mkallrepo @@ -9,7 +9,7 @@ TMPSIG4=$(mktemp -t XXXXXXXX.2019) cd /home/rpmbuild/site/rpms -for dep in fedora/{28,29,30}/*/{i386,x86_64} enterprise/{6,7,8}/*/{i386,x86_64,armhfp} +for dep in fedora/{29,30,31}/*/{i386,x86_64} enterprise/{6,7,8}/*/{i386,x86_64,armhfp} do [[ $dep =~ /modular ]] && continue @@ -35,11 +35,11 @@ find SRPMS -name \*.rpm -a -newer SRPMS/repodata -print >>$TMPSIG if [ -s $TMPSIG ]; then echo "À signer:"; sort < $TMPSIG - grep fc28 $TMPSIG > $TMPSIG3 - grep fc29 $TMPSIG >> $TMPSIG3 + grep fc29 $TMPSIG > $TMPSIG3 grep el8 $TMPSIG >> $TMPSIG3 grep fc30 $TMPSIG > $TMPSIG4 + grep fc31 $TMPSIG >> $TMPSIG4 grep src.rpm $TMPSIG >> $TMPSIG4 if [ -s $TMPSIG4 ]; then @@ -56,7 +56,7 @@ if [ -s $TMPSIG ]; then else exit 1 fi fi - grep -v fc26 $TMPSIG | grep -v fc27 | grep -v fc28 | grep -v fc29 | grep -v fc30 | grep -v src.rpm | grep -v el8 > $TMPSIG1 + grep -v fc26 $TMPSIG | grep -v fc27 | grep -v fc28 | grep -v fc29 | grep -v fc30 | grep -v fc31 | 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) @@ -81,7 +81,7 @@ then echo "== Création des liens (noarch) ==" else echo "Rien à lier." fi -for dep in SRPMS fedora/{28,29,30}/*/{i386,x86_64} enterprise/{6,7,8}/*/{i386,x86_64,armhfp} +for dep in SRPMS fedora/{29,30,31}/*/{i386,x86_64} enterprise/{6,7,8}/*/{i386,x86_64,armhfp} do [[ $dep =~ /modular ]] && continue -- cgit