summaryrefslogtreecommitdiffstats
path: root/mkallrepo
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-08-22 15:38:19 +0200
committerRemi Collet <remi@remirepo.net>2017-08-22 15:38:19 +0200
commit301331ca9432536ce3879b235c8b8b58a0a48db4 (patch)
tree10494db2dc01f3de412f34a4861f15280517d7b6 /mkallrepo
parent729d9be15ff95e89ae56254f8602d1f87802325e (diff)
start F27 support, drop F23
Diffstat (limited to 'mkallrepo')
-rwxr-xr-xmkallrepo7
1 files changed, 4 insertions, 3 deletions
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 =="