From 301331ca9432536ce3879b235c8b8b58a0a48db4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 22 Aug 2017 15:38:19 +0200 Subject: start F27 support, drop F23 --- mkallrepo | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'mkallrepo') diff --git a/mkallrepo b/mkallrepo index 219c47a..bf8a796 100755 --- a/mkallrepo +++ b/mkallrepo @@ -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/{6,7}/*/{i386,x86_64} +for dep in fedora/{23,24,25,26,27}/*/{i386,x86_64} enterprise/{6,7}/*/{i386,x86_64} do arch=${dep##*/} @@ -32,6 +32,7 @@ if [ -s $TMPSIG ]; then echo "À signer:"; sort < $TMPSIG grep fc26 $TMPSIG > $TMPSIG2 + grep fc27 $TMPSIG >> $TMPSIG2 grep src.rpm $TMPSIG >> $TMPSIG2 if [ -s $TMPSIG2 ]; then echo "== Signature des $(cat $TMPSIG2 | wc -l) nouveaux RPM (new) ==" @@ -41,7 +42,7 @@ if [ -s $TMPSIG ]; then fi fi - grep -v fc26 $TMPSIG | grep -v src.rpm > $TMPSIG2 + grep -v fc26 $TMPSIG | grep -v fc27 | grep -v src.rpm > $TMPSIG2 if [ -s $TMPSIG2 ]; then echo "== Signature des $(cat $TMPSIG2 | wc -l) nouveaux RPM (old) ==" if rpmsign --define '_gpg_path /home/remi/.gnupgrpm' --define "_gpg_name Remi Collet" --addsign $(cat $TMPSIG2) @@ -66,7 +67,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/{6,7}/*/{i386,x86_64} +for dep in SRPMS fedora/{23,24,25,26,27}/*/{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 ==" -- cgit