Bug 3638

Summary: rpm --sign setup misdocumented/not documented
Product: [Retired] Red Hat Linux Reporter: Anderson, Dan E. <danx>
Component: rpmAssignee: Jay Turner <jturner>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: danx, goeran, redhatbugzilla, srevivo
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-08-18 18:29:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Anderson, Dan E. 1999-06-22 17:46:08 UTC
I was trying to create rpms for the rhcn Contrib|Net.
However, lots of things are misdocumented/not documented.
I had to add debug to the rpm source to find how to use it.
Please correct!!!!!!!!

1. /usr/man/man8/rpm.8 (section PGP_SIGNATURES)
1a. The "pgp" must be on the same line as %_signature
1b. Same with %_pgp_name
1c. Same with %pgp_name
1d. %_pgp_name's value is missing the initial double quote

2. Add a line line in the man page
%_pgpbin /usr/local/bin/pgp
(or whereever pgp is located)
Also another file must exist with the version appended in
the same directory.
E.g., /usr/local/bin/pgp26 or /usr/local/bin/pgp50
(Ref: pgp source file lib/signature.c)

2. File /usr/doc/rpm-3.0.1/signatures
2a. Change references to rpmrc to
 "/etc/rpm/macros or ~/.rpmmacros"
2b. Change "signature" to "%_signature"
2c. Change "pgp_name" to "%_pgp_name"
2d. Add "%_pgpbin"

------- Additional Comments From   06/23/99 02:02 -------
The RPM HOWTO (v2.0) has the same problems.
Also the RPM HOWTO should mention file
"/etc/rpm/macros or ~/.rpmmacros"

------- Additional Comments From   06/26/99 13:33 -------
In the RPM HOWTO, also remove mention of the /etc/rpmrc
vendor, packager, and distribution
 keywords.  They are now in the
/etc/rpm/macros or ~/.rpmmacros file and are renamed
%vendor, %packager, and %distribution

Comment 1 Jeff Johnson 1999-08-18 18:29:59 UTC
Fixed in rpm-3.0.3.