summaryrefslogtreecommitdiffstats
path: root/mkrepo
diff options
context:
space:
mode:
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)