Bug 1002

Summary: rpm-2.91 ignores /etc/rpmrc
Product: [Retired] Red Hat Raw Hide Reporter: pdyer
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-02-02 15:10:51 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 pdyer 1999-01-31 15:08:18 UTC
I have topsrcdir set to /usr/src/redhat/rawhide
in /etc/rpmrc.  The new rpm does not seem to read
the /etc/rpmrc file.

Comment 1 Cristian Gafton 1999-02-01 19:23:59 UTC
Jeff, all yours

Comment 2 Jeff Johnson 1999-02-02 15:10:59 UTC
Rpm 2.91 is b'twixt and b'tween two configuration schemes. The
current algorithm reads the usual rpmrc files:
	/usr/lib/rpm/rpmrc
	/etc/rpmrc
	~/.rpmrc
and then reads the new macro file
	/usr/lib/rpm/macros
which hides the /etc/rpmrc configured value.

Here's a workaround:
In /etc/rpmrc:
	macrofiles:	/usr/lib/rpm/macros:/etc/macros
In /etc/macros:
	%_topdir	/usr/src/redhat/rawhide

Alternatively, delete the %_topdir line in /usr/lib/rpm/macros.