summaryrefslogtreecommitdiffstats
path: root/mkallrepo
diff options
context:
space:
mode:
Diffstat (limited to 'mkallrepo')
-rwxr-xr-xmkallrepo33
1 files changed, 21 insertions, 12 deletions
diff --git a/mkallrepo b/mkallrepo
index 79abb6d..7a28747 100755
--- a/mkallrepo
+++ b/mkallrepo
@@ -5,11 +5,12 @@ TMPLNK=$(mktemp)
TMPSIG2000=$(mktemp -t XXXXXXXX.2000)
TMPSIG2018=$(mktemp -t XXXXXXXX.2018)
TMPSIG2021=$(mktemp -t XXXXXXXX.2021)
-TMPSIG2022=$(mktemp -t XXXXXXXX.2022)
+TMPSIG2023=$(mktemp -t XXXXXXXX.2023)
+TMPSIG2024=$(mktemp -t XXXXXXXX.2024)
cd /home/rpmbuild/site/rpms
-for dep in fedora/{34,35,36}/*/{i386,x86_64} enterprise/{7,8,9}/*/{i386,x86_64,armhfp,aarch64}
+for dep in fedora/{38,39,40}/*/{i386,x86_64,aarch64} enterprise/{7,8,9}/*/{i386,x86_64,armhfp,aarch64}
do
[[ $dep =~ /modular ]] && continue
[[ $dep =~ /debug-modular ]] && continue
@@ -43,16 +44,24 @@ if [ -s $TMPSIG ]; then
# 2018
grep el8 $TMPSIG > $TMPSIG2018
# 2021
- grep fc34 $TMPSIG > $TMPSIG2021
- grep fc35 $TMPSIG >> $TMPSIG2021
- grep el9 $TMPSIG >> $TMPSIG2021
- # 2022
- grep fc36 $TMPSIG > $TMPSIG2022
- grep src.rpm $TMPSIG >> $TMPSIG2022
+ grep el9 $TMPSIG > $TMPSIG2021
+ # 2023
+ grep fc38 $TMPSIG > $TMPSIG2023
+ grep fc39 $TMPSIG >> $TMPSIG2023
+ # 2024
+ grep src.rpm $TMPSIG > $TMPSIG2024
+ grep fc40 $TMPSIG >> $TMPSIG2024
- if [ -s $TMPSIG2022 ]; then
- echo "== Signature des $(cat $TMPSIG2022 | wc -l) nouveaux RPM (2022) =="
- if rpmsign --define '_gpg_path /home/remi/.gnupgrpm' --define "_gpg_name 845160D23149DAD504F0A32D83C0639E1FEF0014" --addsign $(cat $TMPSIG2022)
+ if [ -s $TMPSIG2024 ]; then
+ echo "== Signature des $(cat $TMPSIG2024 | wc -l) nouveaux RPM (2024) =="
+ if rpmsign --define '_gpg_path /home/remi/.gnupgrpm' --define "_gpg_name CF1DF0057CE85DFF5B2F2A37C2FD3B2C2A0948E4" --addsign $(cat $TMPSIG2024)
+ then echo done.
+ else exit 1
+ fi
+ fi
+ if [ -s $TMPSIG2023 ]; then
+ echo "== Signature des $(cat $TMPSIG2023 | wc -l) nouveaux RPM (2023) =="
+ if rpmsign --define '_gpg_path /home/remi/.gnupgrpm' --define "_gpg_name 50A5E157DFE548EC7C05E9D8D5933DAB6DEFD35E" --addsign $(cat $TMPSIG2023)
then echo done.
else exit 1
fi
@@ -96,7 +105,7 @@ then echo "== Création des liens (noarch) =="
else echo "Rien à lier."
fi
-for dep in SRPMS fedora/{34,35,36}/*/{i386,x86_64} enterprise/{7,8,9}/*/{i386,x86_64,armhfp,aarch64}
+for dep in SRPMS fedora/{38,39,40}/*/{i386,x86_64,aarch64} enterprise/{7,8,9}/*/{i386,x86_64,armhfp,aarch64}
do
[[ $dep =~ /modular ]] && continue
[[ $dep =~ /debug-modular ]] && continue