On Oct 15, 2007, at 5:04 PM, Bernhard Rosenkraenzer wrote:

Just noticed while copying a src.rpm from a Linux x86 box to a FreeBSD x86_64
box:

[EMAIL PROTECTED]:~# rpm -ivh rpm-5.0-0.20071015.1ark.src.rpm
Preparing... ########################################### [100%] package rpm-5.0-0.20071015.1ark is intended for a i686 architecture package rpm-5.0-0.20071015.1ark is intended for a linux operating
system

Using --ignorearch --ignoreos unpacks it, but all files end up in the current
directory except /usr/src/rpm/*/.

Likely a 1-liner test to avoid checking arch/os of srpms in rpmtsRun().

73 de Jeff

______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
Developer Communication List                        [email protected]

Reply via email to