Bug 10962 - specific options in /etc/rpmrc are not recognized
Summary: specific options in /etc/rpmrc are not recognized
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-04-21 08:48 UTC by jruddell
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-05-08 22:26:08 UTC
Embargoed:


Attachments (Terms of Use)

Description jruddell 2000-04-21 08:48:29 UTC
After created a .rpmrc file following the RPM_HOWTO I get the
following errors running rpm

bad option 'require_vendor' at /root/.rpmrc:1
bad option 'distribution' at /root/.rpmrc:2
bad option 'require_distribution' at /root/.rpmrc:3
bad option 'topdir' at /root/.rpmrc:4
bad option 'vendor' at /root/.rpmrc:5
bad option 'packager' at /root/.rpmrc:6
bad option 'signature' at /root/.rpmrc:12
bad option 'pgp_name' at /root/.rpmrc:13
bad option 'pgp_path' at /root/.rpmrc:14
bad option 'tmppath' at /root/.rpmrc:16

using rpm version 3.0.4

using the follwing .rpmrc
require_vendor: 1
  distribution: I roll my own!
  require_distribution: 1
  topdir: /usr/src/me
  vendor: Mickiesoft
  packager:  Mickeysoft Packaging Account <packages>

  optflags: i386 -O2 -m486 -fno-strength-reduce
  optflags: alpha -O2
  optflags: sparc -O2

  signature: pgp
  pgp_name: Mickeysoft Packaging Account
  pgp_path: /home/packages/.pgp

  tmppath: /usr/tmp

Comment 1 Jeff Johnson 2000-05-08 22:26:59 UTC
The configuration of rpm has changed since "Maximum RPM". For your example,
put in /root/.rpmrc
   optflags: i386 -O2 -m486 -fno-strength-reduce
   optflags: alpha -O2
   optflags: sparc -O2

(Note: the above are the default rpm values, there's no reason to configure)

and the following in /root/.rpmmacros:

    %distribution   I roll my own!:
    %_topdir        /usr/src/me
    %vendor         Mickiesoft
    %packager       Mickeysoft Packaging Account <packages>

    %_signature     pgp
    %_pgp_name      Mickeysoft Packaging Account
    %_pgp_path      /home/packages/.pgp

    %_tmppath       /usr/tmp

(Note: there are no analogues of require_vendor/require_distribution)


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