Bug 11905
Summary: | rpm doesn't recognize options in rpmrc | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Adi Linden <adi> |
Component: | rpm | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.1 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2000-06-04 21:04:02 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Adi Linden
2000-06-04 21:04:01 UTC
The manner in which rpm is configured has changed since "Maximum RPM" was written. You have two choices: 1) Build/install rpm-2.5.x from ftp.rpm.org 2) Configure using rpm-3.0 macros. For your example above this is done by putting in ~/.rpmmacros: %_topdir /home/adi/RPM_TESTING/build %vendor PeeWeeLinux %buildroot /home/adi/RPM_TESTING/tmp The complete list of configuration macros is in /usr/lib/rpmrc/macros. The other gotcha is that --rcfile now takes a colon separated list of rpmrc files, so either invoke (as above) like --rcfile /usr/lib/rpm/rpmrc:./rpmrc or add at the top of your rpmrc file include: /usr/lib/rpm/rpmrc |