Bug 8238 - packager flag in rpmrc is bad option
Summary: packager flag in rpmrc is bad option
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm   
(Show other bugs)
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-01-06 18:57 UTC by Andreas J. Bathe
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-01-06 19:26:36 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Andreas J. Bathe 2000-01-06 18:57:12 UTC
When inserting the packager flag into ~/.rpmrc (or even /etc/rpmrc)
rpm responds with "bad option 'packager' at ~/.rpmrc:<lineno>";
the same with other options like signature, pgp_name or pgp_path.
The old rpm version worked with the examples from
http://www.redhat.com/mirrors/LDP/HOWTO/RPM-HOWTO-6.html#ss6.1

Comment 1 Jeff Johnson 2000-01-06 19:26:59 UTC
Rpm-3.0.x accomplishes the same task (in your case) by putting in
~/.rpmmacros (or /etc/rpm/macros):
    %packager	whatever

Ditto for signature configuration. Here's what I have in my ~/.rpmmacros:
    #%_signature    pgp
    %_pgp_name      Jeff Johnson <jbj@redhat.com>
    %_pgp_path      /home/devel/jbj/.pgp

    %_signature     gpg
    %_gpg_name      Jeff Johnson (ARS N3NPQ) <jbj@redhat.com>
    %_gpg_path      /home/devel/jbj/.gnupg


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