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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.