summaryrefslogtreecommitdiffstats
path: root/mkrepo
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-02-10 13:54:16 +0100
committerRemi Collet <remi@php.net>2022-02-10 13:54:16 +0100
commit570ed9064e687d625e942344a6627d0c62f70e79 (patch)
tree944f2fb1b8e1009b33e1f2a2d44753489ce4792a /mkrepo
parent5f1717ffeeec8f3584828d54645c56d7a88ac0fe (diff)
F36 helpers
Diffstat (limited to 'mkrepo')
-rwxr-xr-xmkrepo16
1 files changed, 12 insertions, 4 deletions
diff --git a/mkrepo b/mkrepo
index 4ca6bce..0e6c165 100755
--- a/mkrepo
+++ b/mkrepo
@@ -12,7 +12,7 @@ then
elif [ "$nom" = "SRPMS" ]
then
dis=fedora
- ver=34
+ ver=36
old=8
dst=/data/rpms/SRPMS.remi
else
@@ -23,18 +23,24 @@ else
dst=/data/rpms/old
fi
-GPG_NAME="Remi's RPM repository"
if [ "$dis" == "fedora" ]; then
# Fedora
- if [ "$ver" -ge 34 ]
+ if [ "$ver" -ge 36 ]
+ then echo "key 2022"
+ GPG_PATH=/home/remi/.gnupgrpm
+ GPG_NAME="845160D23149DAD504F0A32D83C0639E1FEF0014"
+ elif [ "$ver" -ge 34 ]
then echo "key 2021"
GPG_PATH=/home/remi/.gnupg2021
+ GPG_NAME="B1ABF71E14C9D74897E198A8B19527F1478F8947"
elif [ "$ver" -ge 32 ]
then echo "key 2020"
GPG_PATH=/home/remi/.gnupg2020
+ GPG_NAME="34C10BDBCC6F1B252E50BA1A0714919E4C21A808"
elif [ "$ver" -ge 30 ]
then echo "key 2019"
GPG_PATH=/home/remi/.gnupg2019
+ GPG_NAME="5F136145BF10369B7685D8DE503666CCBBAE6F1B"
else echo "older key"
exit 1
fi
@@ -43,12 +49,14 @@ else
if [ "$ver" -ge 9 ]
then echo "key 2021"
GPG_PATH=/home/remi/.gnupg2021
+ GPG_NAME="B1ABF71E14C9D74897E198A8B19527F1478F8947"
elif [ "$ver" -ge 8 ]
then echo "key 2018"
GPG_PATH=/home/remi/.gnupg2018
+ GPG_NAME="6B38FEA7231F87F52B9CA9D8555097595F11735A"
else echo "old key"
GPG_PATH=/home/remi/.gnupgrpm
- GPG_NAME="Remi Collet"
+ GPG_NAME="1EE04CCE88A4AE4AA29A5DF5004E6F4700F97F56"
fi
fi