Bug 2081 - can't parse rpmrc
Summary: can't parse rpmrc
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:
Keywords:
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

(edit)
Clone Of:
(edit)
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.