please note that rpm --showrc > /etc/rpmrc doesn't work and the format of the rpmrc file is not documented in either man page of doc dir and the list of all options is also not available. $ rpm -q rpm bad option 'signature' at /etc/rpmrc:2 bad option 'pgp_name' at /etc/rpmrc:3 bad option 'pgp_path' at /etc/rpmrc:4 rpm-2.94-4 $ cat /etc/rpmrc ## fixperms: a+rX,g+w,o-w signature: pgp pgp_name: sds pgp_path: /home/sds/.pgp/ $
The syntax (but not the functionality) has changed. Put the following in /etc/rpm/macros (or ~/.rpmmacros) %_signature pgp %_pgp_name sds %_pgp_path /home/sds/.pgp You might also need %_pgpbin /usr/bin/pgp The complete list of macros (which mostly replaces the previous comfiguration sysntax) is in /usr/lib/rpm/macros