diff options
author | Remi Collet <remi@remirepo.net> | 2020-02-17 16:16:01 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-02-17 16:16:01 +0100 |
commit | 5d81899fa24171faf319f0c5822150dc9cbe51a2 (patch) | |
tree | 7a846266bc727d7a8ecfc848370e4cad63650e02 /mkrepo | |
parent | c98476169a66197e23f26e7e43c49cb0adaf44ca (diff) |
Close F29 and Open F32
Diffstat (limited to 'mkrepo')
-rwxr-xr-x | mkrepo | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -20,7 +20,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 30 ] + if [ "$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) + + elif [ "$dis" == "fedora" -a "$ver" -ge 30 ] then echo "key 2019" rpmsign --define '_gpg_path /home/remi/.gnupg2019' --define "_gpg_name Remi's RPM repository" --addsign $(cat $TMP) @@ -84,12 +88,12 @@ else --database . fi -echo "+ Génération repoview" -nom=${PWD#/home/rpmbuild/site/rpms/} +#echo "+ Génération repoview" +#nom=${PWD#/home/rpmbuild/site/rpms/} #echo repoview --quiet --url http://rpms.remirepo.net/$nom \ # --template-dir /home/rpmbuild/site/rpms/repotmpl \ # --title "Remi's RPM repository - ${nom//\// - }" . -LANG=C repoview --quiet --url http://rpms.remirepo.net/$nom \ - --template-dir /home/rpmbuild/site/rpms/repotmpl \ - --title "Remi's RPM repository - ${nom//\// - }" . +#LANG=C repoview --quiet --url http://rpms.remirepo.net/$nom \ +# --template-dir /home/rpmbuild/site/rpms/repotmpl \ +# --title "Remi's RPM repository - ${nom//\// - }" . |