Mike wrote:
and then did yum localupdate --nogpgcheck on the list of newly created rpms.
If you'd like to not have to disable the gpg signature check, that's only a few more steps (most of which only need to be done once).
# Generate a key gpg --gen-key # the defaults for key type and size are fine.
# Tell rpm what key to use (replace the keyid [8218AC56] with the # keyid or the email address of the key you just created. echo '%_gpg_name 8218AC56'>> ~/.rpmmacros
# Export the key from gpg gpg -a --export 8218ac56> /tmp/rpm-gpg.asc
# Import the key to the rpm database (as root) rpm --import /tmp/rpm-gpg.asc
# Whenever you (re)build a package, add --sign to the rpmbuild command rpmbuild --rebuild --sign bind-9.5.0-33.P1.fc9.src.rpm