RPM Community Forums

Mailing List Message of <rpm-devel>

Re: src.rpms have arch/os dependencies in current CVS

From: Jeff Johnson <n3npq@mac.com>
Date: Mon 15 Oct 2007 - 23:49:21 CEST
Message-Id: <81563752-19FE-4326-BB0C-443FCE40F0ED@mac.com>

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:
>
> root@fbsd-test:~# 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
Received on Mon Oct 15 23:50:20 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.