Rpm can't find pgp5, even though it is there. The error message: localhost:~/rpm/SPECS>34 rpm -ba --sign sla-1.0.spec pgp version 5 not found: Use `%_signature pgp' instead of `%_signature pgp5' in macro file. The current macro definitions: ... -14: _pgp_name Brian T.N. Gunney <brlynn> -14: _pgp_path /home/brian/.pgp -14: _pgpbin /usr/bin/pgp ... -14: _signature pgp5 ... The pgp binaries: -rwxr-xr-x 1 root root 677589 May 31 08:41 /usr/bin/pgp* lrwxrwxrwx 1 root root 3 May 31 08:43 /usr/bin/pgpe -> pgp* -rwxr-xr-x 1 root root 678162 May 31 08:41 /usr/bin/pgpk* lrwxrwxrwx 1 root root 3 May 31 08:43 /usr/bin/pgps -> pgp* lrwxrwxrwx 1 root root 3 May 31 08:43 /usr/bin/pgpv -> pgp* There appears to be no problem with pgp--it signed ordinary files just fine. When I make the _signature macro pgp instead of pgp5, rpm asks for the pass phrase and says the phrase is not good. I don't know if this is a result of rpm mistaking pgp5 for pgp2.6 or another problem. I do NOT have any other version of pgp on my computer.
What version of rpm? Install pgp2.6.3 (or gnupg-0.9.7) and sign with that instead of pgp5.
rpm version used: rpm-3.0.1-12
Fixed in rpm-3.0.3.