|
|
|
Re: generating 32-bit RPM's | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
On Tue, Sep 20, 2005 at 12:42:26PM +0100, Dave Atkinson wrote: > Thanks, but I did. Using > > $ setarch i386 rpmbuild --target i386 ... > > gives me packages that contain files with /usr/lib64/... in their path. > >From the man page changes the output of uname. If you look > in /usr/lib/rpm/*-linux/macros there will be a line > > /usr/lib/rpm/x86_64-linux/macros > %_lib lib64 > /usr/lib/rpm/i386-linux/macros > %_lib lib > /usr/lib/rpm/noarch-linux/macros > %_lib lib64 > > It looks like this file gets sourced based on the host arch, not the > target arch, resulting in the above problem... No, it is target arch. But if you have /etc/rpm/platform file, that unfortunately overrides it. Just rm -f /etc/rpm/platform and it will DTRT. Jakub -- amd64-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/amd64-list
[Search] [Home] [Kernel List] [Linux ia64] [Linux X86_64] [Red Hat Install] [Red Hat Migration] [Red Hat Development] [Red Hat 9 Bible] [Red Hat 9 Mailing List] [Fedora Legacy] [Yosemite News]