Bug 31195

Summary: rpm should inform user that /etc/rpmrc and ~/.rpmrc is obsolete
Product: [Retired] Red Hat Linux Reporter: Vidar Langseid <vl>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2   
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: 2001-03-09 18:10:37 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 Vidar Langseid 2001-03-09 18:05:51 UTC
Hi

I tried to owerride topdir using /etc/rpmrc and ~/.rpmrc:
topdir: /mytopdir

I did also try do use tags like vendor and packager
This resulted in error messages like:
  bad option 'topdir' at /etc/rpmrc:1
  bad option 'vendor' at /etc/rpmrc:2
  bad option 'packager' at /etc/rpmrc:3

Then I instead tried to create ~/.rpmmacros :
%_topdir    /mytopdir
%vendor    foo
%packager  bar

This worked !!!!!

I think that rpm should have given me a better errormessage when I tried to
use a rpmrc file, especially when resouces like MaximumRPM states :"The
vendor entry is a great example of a good candidate for inclusion in
/etc/rpmrc"

Comment 1 Vidar Langseid 2001-03-09 18:10:32 UTC
This bug also applies to RedHat 7.0

Comment 2 Jeff Johnson 2001-03-10 03:16:55 UTC
Yes "Maximum RPM" is out of date, not much can be done.

There's an error message already with legacy syntax, what needs doing more is to
remove rpmrc configuration entirely, that will happen eventually.