Created
March 29, 2017 13:09
-
-
Save carlwgeorge/d011397bf2a2dfdc8fdcb9dc5eefa250 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import rpm | |
| # optionally set an alternate gpg path | |
| #rpm.addMacro('_gpg_path', '/other/gpg/path') | |
| # set this macro to the key name or fingerprint | |
| rpm.addMacro('_gpg_name', 'my key') | |
| # sign it | |
| rpm.addSign('foo.rpm', 'super secret gpg passphrase') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment