RPM Community Forums

Mailing List Message of <rpm-users>

Re: rpm-4.4.8 selects a wrong build target

From: Robert Scheck <robert@rpm5.org>
Date: Wed 25 Jul 2007 - 20:33:31 CEST
Message-ID: <20070725183331.GA3088@hurricane.linuxnetz.de>
On Tue, 24 Jul 2007, Jeff Johnson wrote:
> Using
>     --target fooey
> with
>     i386-redhat-linux-gnu
> 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/platform
while having a /usr/lib/rpm/i386-redhat-linux-gnu containing a modified
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 the
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... ;)

Received on Wed Jul 25 20:33:35 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.