On Tue, Feb 05, 2002 at 09:36:42AM -0800, Melissa Rickman wrote: > Q1: How does RPM know to pick up your .rpmmacros file? This .rpmmacros file > has my redefiniton of %topdir. > Q2: Where should I place this .rpmmacros file? And why there?
I've got it in my home directory. It's there because it works :-) You do have other options. Here's a grep of the rpm executable search for the rpmmacros string: ewilts@corpftp ewilts]$ strings /bin/rpm | grep rpmmacros /usr/lib/rpm/macros:/usr/lib/rpm/%{_target_platform}/macros:/etc/rpm/macros:/etc/rpm/macros.specspo:/etc/rpm/macros.db1:/etc/rpm/%{_target_platform}/macros:~/.rpmmacros /usr/lib/rpm/macros defintes %_topdir to be %{_usrsrc}/redhat so you could do a system-wide change by editing the global macros file. -- Ed Wilts, Mounds View, MN, USA mailto:[EMAIL PROTECTED] _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list