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 - can't parse rpmrc
Summary: can't parse rpmrc
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: rpm
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-04-09 13:55 UTC by Steingold, Sam
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 1999-04-09 14:31:50 UTC


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.