On Jul 25, 2007, at 2:33 PM, Robert Scheck wrote:
> On Tue, 24 Jul 2007, Jeff Johnson wrote:
>> --target fooey
>> in /etc/rpm/platform should inheirit the other values. If that is
>> not the case then something else is wrong.
> I'm a bit confused. I put "i386-redhat-linux-gnu" into /etc/rpm/
> while having a /usr/lib/rpm/i386-redhat-linux-gnu containing a
> version of redhat-rpm-config stuff and i386-linux shipped by rpm
> 4.5. When
> I'm now trying "rpmbuild -ba xyz.spec", i386-linux is favoured over
> i386-redhat-linux-gnu. Is this correct? And if yes, why? This
> doesn't seem
> to match with the magic, you tried me to explain - at least in my
> eyes. Or
> I'm to dumb, that's another possibility... ;)
What does "... 386-linux is favoured over the i386-redhat-linux-gnu ..."
mean precisely? Some macro being loaded from i386-linux/macros
rather than i386-redhat-linux-gnu/macros?
Macro file loading epends on the macrofiles path, a colon separated
list of files to --macros
will take the mystery out of what rpm reads (so will strace spew
Any desired behavior can be achieved by defaulting the compiled in value
of macrofiles to read to Something Else Instead.
The mystery for me is what files should be attempted in what order for
"everywhere compatible" behavior ;-)
73 de Jeff
Received on Wed Jul 25 20:42:35 2007