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

Dimitrios Glentadakis dglent at gmail.com
Thu May 31 07:31:36 CEST 2012


Στις 30/05/2012 20:44:12 Charles A Edwards έγραψε:
>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
>
>
>

Yes, you are right it asks at the end, as bm does.

-- 
Dimitrios Glentadakis


More information about the Mageia-dev mailing list