summaryrefslogtreecommitdiffstats
path: root/mkrepo
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-01-04 16:55:30 +0100
committerRemi Collet <remi@remirepo.net>2021-01-04 16:55:30 +0100
commit4f6a63efbd9fe2a8e6828b9861a89f6be5bea2fb (patch)
tree1c67fdf2b766c6372eb749296ddb70a0ddd9ed2c /mkrepo
parentf638f029d3b83a93cc4de5eb408cfc1d055f2be9 (diff)
add 2021 key
Diffstat (limited to 'mkrepo')
-rwxr-xr-xmkrepo8
1 files changed, 6 insertions, 2 deletions
diff --git a/mkrepo b/mkrepo
index 0dc9002..5f25de6 100755
--- a/mkrepo
+++ b/mkrepo
@@ -12,7 +12,7 @@ then
elif [ "$nom" = "SRPMS" ]
then
dis=fedora
- ver=33
+ ver=34
old=8
dst=/data/rpms/SRPMS.remi
else
@@ -28,7 +28,11 @@ if [ ${1:-check} != nocheck ]; then
rpm -K *.rpm | grep -v 'signatures.*OK' | cut -d: -f1 | tee $TMP
if [ -s $TMP ]
then
- if [ "$dis" == "fedora" -a "$ver" -ge 32 ]
+ if [ "$dis" == "fedora" -a "$ver" -ge 34 ]
+ then echo "key 2021"
+ rpmsign --define '_gpg_path /home/remi/.gnupg2021' --define "_gpg_name Remi's RPM repository" --addsign $(cat $TMP)
+
+ elif [ "$dis" == "fedora" -a "$ver" -ge 32 ]
then echo "key 2020"
rpmsign --define '_gpg_path /home/remi/.gnupg2020' --define "_gpg_name Remi's RPM repository" --addsign $(cat $TMP)