Chapter 3. Building Custom Packages
Replace the
_gpg_name
you use to sign packages. This value tells RPM which signature to use.
To sign the package
package-name-1.0-1.noarch.rpm
rpm --resign package-name-1.0-1.noarch.rpm
Enter your passphrase. To make sure the package is signed, use the following command:
rpm --checksig -v package-name-1.0-1.noarch.rpm
You should see the phrase
replaced with the name associated with the signing key.
12
key ID value of
B7085C8A
Good signature from "Your Name"
with the key ID from your GPG keyring that
, use the following command:
in the output, with
Your Name