On Mon, Nov 27, 2006 at 10:36:11AM +0100, Marcus Rueckert wrote:
> On 2006-11-27 10:26:41 +0100, Nadia Derbey wrote:
> > I use .rpmmacros to set the %packager and what is needed for the gpg 
> > signature (otherwise rpmlint complains about it :-( ).
> > So, may be my question should have been the following:
> > How to sign packages when they are built using build (or lbuild).
> 
> after you have build the packages for all architectures/distros you call
> 
> rpm --addsign */*.rpm 
> 
> rpm --resign might be nice too. it removes all other signatures before
> adding your own.

Hmm. Isn't it the same with --addsign?

# man rpm
   SIGNING A PACKAGE
       rpm --addsign|--resign PACKAGE_FILE ...

       Both of the --addsign and --resign options generate and insert new sig‐
       natures  for  each  package  PACKAGE_FILE given, replacing any existing
       signatures. There are two options for historical reasons, there  is  no
       difference in behavior currently.

Or is the manual page not up-to-date?

Best regards,
Stefan

Public Key available
------------------------------------------------------
Stefan Dirsch (Res. & Dev.)   SUSE LINUX Products GmbH
Tel: 0911-740 53 0            Maxfeldstraße 5
FAX: 0911-740 53 479          D-90409 Nürnberg
http://www.suse.de            Germany 
------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to