[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: buildreq and arch
- From: "Gene C." <czar czarc net>
- To: rpm-list redhat com
- Subject: Re: buildreq and arch
- Date: Thu, 29 Jan 2004 12:45:32 -0500
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
--
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]