Thursday, September 15, 2011

rpmbuild ... error: You must set "%_gpg_name" in your macro file

Found helpful answer here: http://www.perlmonks.org/?node_id=661992

Summary:

I bet I just need to counteract that 'sign' argument. Let's check the rpmbuild man page .. hmm, refers us to rpm, OK, check that man page .. bingo!
So let's try it with the no-sign argument instead ..
[alex@box FC8]$ cpan2rpm --no-sign http://search.cpan.org/CPAN/authors +/id/D/DC/DCLINTON/Cache-Cache-1.05.tar.gz -- cpan2rpm - Ver: 2.028 -- Upgrade check Fetch: HTTP [...] + rm -rf Cache-Cache-1.05 + exit 0 RPM: /home/box/alex/RPMS/RPMS/noarch/perl-Cache-Cache-1.05-1.noarch.rp +m SRPM: /home/box/alex/RPMS/SRPMS/perl-Cache-Cache-1.05-1.src.rpm -- Done --


No comments:

Post a Comment