How can one build RPMs with stripped and non-stripped components?

Solution Verified - Updated -

Issue

When building an RPM the normal build process will strip any binary that gets into the RPM.

If one of the files is already stripped, it can happen that the file gets corrupted while being incorporated into the RPM.

Environment

Red Hat Enterprise Linux 5 and 6 (very likely 4 as well).

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