From 4d3b8607d91b08ad9c1f415a80a860d8d1e198a4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 4 Jul 2019 08:37:45 +0200 Subject: close F27 repo --- mkallrepo | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'mkallrepo') diff --git a/mkallrepo b/mkallrepo index 16b24a8..63507fb 100755 --- a/mkallrepo +++ b/mkallrepo @@ -9,7 +9,7 @@ TMPSIG4=$(mktemp -t XXXXXXXX.2019) cd /home/rpmbuild/site/rpms -for dep in fedora/{26,27,28,29,30}/*/{i386,x86_64} enterprise/{6,7,8}/*/{i386,x86_64,armhfp} +for dep in fedora/{28,29,30}/*/{i386,x86_64} enterprise/{6,7,8}/*/{i386,x86_64,armhfp} do [[ $dep =~ /modular ]] && continue @@ -35,9 +35,6 @@ find SRPMS -name \*.rpm -a -newer SRPMS/repodata -print >>$TMPSIG if [ -s $TMPSIG ]; then echo "À signer:"; sort < $TMPSIG - grep fc26 $TMPSIG > $TMPSIG2 - grep fc27 $TMPSIG >> $TMPSIG2 - grep fc28 $TMPSIG > $TMPSIG3 grep fc29 $TMPSIG >> $TMPSIG3 grep el8 $TMPSIG >> $TMPSIG3 @@ -59,13 +56,6 @@ if [ -s $TMPSIG ]; then else exit 1 fi fi - if [ -s $TMPSIG2 ]; then - echo "== Signature des $(cat $TMPSIG2 | wc -l) nouveaux RPM (2017) ==" - if rpmsign --define '_gpg_path /home/remi/.gnupg2017' --define "_gpg_name Remi's RPM repository" --addsign $(cat $TMPSIG2) - then echo done. - 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 if [ -s $TMPSIG1 ]; then echo "== Signature des $(cat $TMPSIG1 | wc -l) nouveaux RPM (old) ==" @@ -91,7 +81,7 @@ then echo "== Création des liens (noarch) ==" else echo "Rien à lier." fi -for dep in SRPMS fedora/{26,27,28,29,30}/*/{i386,x86_64} enterprise/{6,7,8}/*/{i386,x86_64,armhfp} +for dep in SRPMS fedora/{28,29,30}/*/{i386,x86_64} enterprise/{6,7,8}/*/{i386,x86_64,armhfp} do [[ $dep =~ /modular ]] && continue -- cgit