rpm-sign: Workaround for broken fpm rpm signing

This commit is contained in:
Key Networks 2021-01-16 12:51:57 +08:00
parent ab057c854c
commit 1b3c12aa08

View file

@ -118,7 +118,6 @@ fpm -s dir -t rpm \
--description "$DESCRIPTION" \
--rpm-user ztncui \
--rpm-group ztncui \
--rpm-sign \
.
fpm -s dir -t deb \
@ -130,5 +129,8 @@ fpm -s dir -t deb \
--deb-group ztncui \
.
rpm --addsign ../Release/ztncui*rpm
rpm --checksig ../Release/ztncui*rpm
createrepo $PKG_DIR
gpg -u 'Key Networks' --detach-sign --armor $PKG_DIR/repodata/repomd.xml