How can one define the 32 bit dependency for a 64 bit package in spec file of Red Hat Enterprise Linux 5 and 6 package?

Solution Verified - Updated -

Issue

  • Want to build a rpm package using spec file and rpmbuild utility.
  • The special requirement is that the x86_64 bit package requires a i686 package as a dependency.
  • How can one mention/define a 32 bit dependency for a 64 bit package in rpm spec file for Red Hat Enterprise Linux 5 and 6?

Environment

  • Red Hat Enterprise Linux 5/6
  • rpm-build

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content