rpm-sign: Workaround for broken fpm rpm signing (#53)

This commit is contained in:
key-networks 2021-01-16 12:55:25 +08:00 committed by GitHub
parent ab057c854c
commit f0be22248c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

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