Re: Source rpm's have %{arch} set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le Sunday 29 May 2005 15:05, Jos Vos a écrit :
> Hi,
>
> While working on some own Python rpm tooling, I found out that src.rpm's
> have %{arch} set (probably to the build host %{arch}, I did not verify
> this).
>
> Should this be considered a bug?  I would expect the %{arch} set to none
> for src.rpm's.

No, src.rpm has the arch of the first binary package build from this spec. To 
know if the package is a src or not, check if the header has a SOURCERPM tag, 
if yes, it is not a source rpm.

Attachment: pgpt5fY3s2rz8.pgp
Description: PGP signature


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux