Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 2081

Summary: can't parse rpmrc
Product: [Retired] Red Hat Raw Hide Reporter: Steingold, Sam <sds>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
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: --- Target Upstream Version:

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
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/
$

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