Re: determine rpm build arch

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

 



Panu Matilainen wrote:
On Sun, 5 Sep 2004, Tsai Li Ming wrote:


Hi

Is there a way to determine the arch of the rpm being created by rpmbuild, other than looking at the output for the following lines:

Wrote: /home/build/redhat/SRPMS/pkg-1.1-0.src.rpm
Wrote: /home/build/redhat/RPMS/ia64/pkg-1.1-0.ia64.rpm


You mean inside specfile? %{_arch} contains it, eg in above case 'ia64'.

- Panu -

I am more interested into the supported arch that the rpmbuild on a specified platform. The rpmbuild --showrc does show the build arch but is there a more programatic way to get the suppoerted build arc?


If possible, would it be possible to detect the arch of the rpm being created?

Liming


_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list

[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