[Yum] rpmbuild --sign
Michael A. Peters
mpeters at mac.com
Tue Nov 30 23:07:19 UTC 2004
On 11/30/2004 12:15:11 PM, Robert G. Brown wrote:
>
> I'm trying to set up a way of using yum as a distribution mechanism
> for
> a related set of personally maintained packages, and this is the only
> remaining stumbling block. Obviously I could use gpgcheck = 0, but
> it
> seems equally obviously better/smarter to learn to build rpm's that
> gpgcheck correctly.
>
> So, what am I doing wrong, or leaving out?
I don't know.
I just run
rpmbuild --sign -ba foo.spec
and I get a signed src.rpm and signed rpm that make yum happy.
Here is my GPG part of my ~/.rpmmacros
# GPG
%_signature gpg
%_gpg_path /home/buildmaster/.gnupg
%_gpg_name Michael A. Peters (buildmaster) <buildmaster at mpeters.us>
%_gpgbin /usr/bin/gpg
Specifying --sign and setting up my .rpmmacros to look like that "just
works"
More information about the Yum
mailing list