Bug 2081

Summary: can't parse rpmrc
Product: [Retired] Red Hat Raw Hide Reporter: Steingold, Sam <sds>
Component: rpmAssignee: Jeff Johnson <jbj>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-04-09 14:31:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Steingold, Sam 1999-04-09 13:55:59 UTC
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
$ 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
$ cat /etc/rpmrc
## fixperms: a+rX,g+w,o-w
signature:	pgp
pgp_name:	sds
pgp_path:	/home/sds/.pgp/

Comment 1 Jeff Johnson 1999-04-09 14:31:59 UTC
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