Douglas Hubler wrote on 12/13/2006 06:18:21 PM:

> Joe Todaro <jstodaro <at> us.ibm.com> writes:
> > Here, in fact I made some enhancements to the script
> <snip>
> > See what you can do with it.
>
> Joe,
>
> I'm using the expect script you attached to your last post, thanks for posting
> it!  
>
> I'm finding on larger RPMs the expect script times out after password but
> beforethe actual signing and without giving an error message.  
>
> So I
>  - added a timeout error condition after password is entered.
>  - increase timeout.  
>  
> Does it look right? Seems to work for me.


Yeah. Looks fine Douglas. Good catch.

>
> Also, I cannot seem to find documentation on what
>  --with sig_main
> does, can you explain?


The basic package signing methods are described here:
http://library.n0i.net/linux-unix/programming/ma-xrpm/s1-rpm-pgp-signing-packages.html

And the "--with sig_main" option can be implemented via the "%_gpg_name"
macro, that might look something like this:
%_gpg_name  %{?_with_sig_main:F333AC40}%{?_with_sig_addon:5036E41F}

>
>
> modified extras-signer.ex
>  http://pastebin.ca/278275
>
>
> --
> Fedora-buildsys-list mailing list
> Fedora-buildsys-list@redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-buildsys-list