diff options
Diffstat (limited to 'mkallrepo')
| -rwxr-xr-x | mkallrepo | 20 |
1 files changed, 14 insertions, 6 deletions
@@ -8,10 +8,11 @@ TMPSIG2021=$(mktemp -t XXXXXXXX.2021) TMPSIG2023=$(mktemp -t XXXXXXXX.2023) TMPSIG2024=$(mktemp -t XXXXXXXX.2024) TMPSIG2025=$(mktemp -t XXXXXXXX.2025) +TMPSIG2026=$(mktemp -t XXXXXXXX.2026) cd /home/rpmbuild/site/rpms -for dep in fedora/{41,42,43}/*/{i386,x86_64,aarch64} enterprise/{8,9,10}/*/{x86_64,aarch64} +for dep in fedora/{42,43}/*/{i386,x86_64,aarch64} enterprise/{8,9,10}/*/{x86_64,aarch64} do [[ $dep =~ /modular ]] && continue [[ $dep =~ /debug-modular ]] && continue @@ -52,13 +53,20 @@ if [ -s $TMPSIG ]; then # 2023 grep fc39 $TMPSIG > $TMPSIG2023 # 2024 - grep fc41 $TMPSIG > $TMPSIG2024 - grep el10 $TMPSIG >> $TMPSIG2024 + grep el10 $TMPSIG > $TMPSIG2024 # 2025 - grep src.rpm $TMPSIG > $TMPSIG2025 - grep fc42 $TMPSIG >> $TMPSIG2025 + grep fc42 $TMPSIG > $TMPSIG2025 grep fc43 $TMPSIG >> $TMPSIG2025 + # 2026 + grep src.rpm $TMPSIG > $TMPSIG2026 + if [ -s $TMPSIG2026 ]; then + echo "== Signature des $(cat $TMPSIG2026 | wc -l) nouveaux RPM (2026) ==" + if rpmsign --define '_gpg_path /home/remi/.gnupgrpm' --define "_gpg_name 2E375FE24EDFF0F2E0D8E165ED5B58C5BEFA00E2" --addsign $(cat $TMPSIG2026) + then echo done. + else exit 1 + fi + fi if [ -s $TMPSIG2025 ]; then echo "== Signature des $(cat $TMPSIG2025 | wc -l) nouveaux RPM (2025) ==" if rpmsign --define '_gpg_path /home/remi/.gnupgrpm' --define "_gpg_name 83833E4687A4AA03B6AC94F2061566968F1F4B2D" --addsign $(cat $TMPSIG2025) @@ -119,7 +127,7 @@ then echo "== Création des liens (noarch) ==" else echo "Rien à lier." fi -for dep in SRPMS fedora/{41,42,43}/*/{i386,x86_64,aarch64} enterprise/{8,9,10}/*/{x86_64,aarch64} +for dep in SRPMS fedora/{42,43}/*/{i386,x86_64,aarch64} enterprise/{8,9,10}/*/{x86_64,aarch64} do [[ $dep =~ /modular ]] && continue [[ $dep =~ /debug-modular ]] && continue |
