summaryrefslogtreecommitdiffstats
path: root/mkallrepo
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-07-04 08:37:45 +0200
committerRemi Collet <remi@remirepo.net>2019-07-04 08:37:45 +0200
commit4d3b8607d91b08ad9c1f415a80a860d8d1e198a4 (patch)
tree31c56aa2040251cf88235f71cfcdcc7c3d63e057 /mkallrepo
parent5b6d2bb16a0eed544143e77a7152da2dbfb0ce9b (diff)
close F27 repo
Diffstat (limited to 'mkallrepo')
-rwxr-xr-xmkallrepo14
1 files changed, 2 insertions, 12 deletions
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