[Yum] rpmbuild --sign
Robert G. Brown
rgb at phy.duke.edu
Wed Dec 1 00:11:21 UTC 2004
On Tue, 30 Nov 2004, Michael A. Peters wrote:
> 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
mine are more or less identical (with obvious differences).
Sigh.
I'll look further.
rgb
Robert G. Brown http://www.phy.duke.edu/~rgb/
Duke University Dept. of Physics, Box 90305
Durham, N.C. 27708-0305
Phone: 1-919-660-2567 Fax: 919-660-2525 email:rgb at phy.duke.edu
More information about the Yum
mailing list