[Mageia-dev] rpmbuild -ba --sign , does nt work any more

Charles A Edwards CAE at eslrahc.com
Thu May 31 02:44:12 CEST 2012


On Wed, 30 May 2012 18:49:19 +0200
Dimitrios Glentadakis <dglent at gmail.com> wrote:

> >  - The keyring related operations of importing public keys and
> >    verifying package signatures have been split into a new "rpmkeys"
> >    cli utility
> >
> >  - Package signing and signature deletion operations have been split
> >    into a new "rpmsign" cli utility (related to RhBug:624585) "
> >
> > (...)
> >
> > Removed features
> >
> >  - Support for --sign during rpmbuild has been removed. Signing must
> >    be done as a separate step using the new "rpmsign" command.  
> 
> It is still present in rpmbuilt --help, may be is forgotten to be
> removed


It still working here on this system.

Instead of asking for pass phrase at start of build and signing the
rpms as they are built, it waits till the rpms are built, asks for the
pass prase and then signs the rpms.

Example:

rpmbuild -ba --clean --sign imagemagick.spec
+ umask 022
+ cd /home/charles/rpm/BUILD

 <big snip>

+ exit 0
+ umask 022
+ cd /home/charles/rpm/BUILD
+ cd ImageMagick-6.7.7-4
+ rm -rf /home/charles/rpm/BUILDROOT/imagemagick-6.7.7.4-1zae.x86_64
+ exit 0
+ umask 022
+ cd /home/charles/rpm/BUILD
+ rm -rf ImageMagick-6.7.7-4
+ exit 0
Enter pass phrase: 
Pass phrase is good.
/home/charles/rpm/SRPMS/imagemagick-6.7.7.4-1zae.src.rpm:
/home/charles/rpm/RPMS/x86_64/imagemagick-6.7.7.4-1zae.x86_64.rpm:
/home/charles/rpm/RPMS/x86_64/imagemagick-desktop-6.7.7.4-1zae.x86_64.rpm:
/home/charles/rpm/RPMS/x86_64/lib64magick5-6.7.7.4-1zae.x86_64.rpm:
/home/charles/rpm/RPMS/x86_64/lib64magick-devel-6.7.7.4-1zae.x86_64.rpm:
/home/charles/rpm/RPMS/x86_64/perl-Image-Magick-6.7.7.4-1zae.x86_64.rpm:
/home/charles/rpm/RPMS/x86_64/imagemagick-doc-6.7.7.4-1zae.x86_64.rpm:

[charles at SuperSize SPECS]$ cd /home/charles/rpm/RPMS/x86_64/
[charles at SuperSize x86_64]$ rpm -K *rpm
imagemagick-6.7.7.4-1zae.x86_64.rpm: (sha1) dsa sha1 md5 gpg OK
imagemagick-desktop-6.7.7.4-1zae.x86_64.rpm: (sha1) dsa sha1 md5 gpg OK
imagemagick-doc-6.7.7.4-1zae.x86_64.rpm: (sha1) dsa sha1 md5 gpg OK
lib64magick5-6.7.7.4-1zae.x86_64.rpm: (sha1) dsa sha1 md5 gpg OK
lib64magick-devel-6.7.7.4-1zae.x86_64.rpm: (sha1) dsa sha1 md5 gpg OK
perl-Image-Magick-6.7.7.4-1zae.x86_64.rpm: (sha1) dsa sha1 md5 gpg OK


    Charles


-- 
BOFH excuse #341:

HTTPD Error 666 : BOFH was here
----------------------
Mageia release 3 (Cauldron) for x86_64$
On SuperSize....http://www.eslrahc.com
Registered Linux user #182463
3.3.6-tmb-server-2.mga2 x86_64
----------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: </pipermail/mageia-dev/attachments/20120530/98fa03e6/attachment.asc>


More information about the Mageia-dev mailing list