On Thursday 29 January 2004 11:57, Jeff Johnson wrote: > On Wed, Jan 28, 2004 at 03:22:55PM -0500, Gene C. wrote: > > Is there a way to specify the architecture of a buildreq package? > > > > Example: One the amd64 (x86_64), building gcc requires the glibc-devel > > package for the i686 architecture also be installed (besides the x86_64 > > package) in order to actually build gcc. Is there a way to specify this? > > %ifarch x86_64 > BuildRequire: glibc-devel > %endif Yes but ... the glibc-devel...x86_64.rpm package is already installed. gcc needs both the x86_64 AND the i686 glibc-devel packages installed to build properly. This may be the only situation that would need packages from two different platforms to perform the build. I was wondering if there was a way to include the platform/architecture in the BuildRequire ... perhaps something like %ifarch x86_64 BuildRequire: glibc-devel i686 %endif -- _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list