How do I repackage rpms into a different directory from /var/spool/repackage when running rpm with the "--repackage" argument?

Updated -

Release Found: Red Hat Enterprise Linux 3, 4, 5

Solution

Firstly it is strongly recommended not to use "--repackage" argument because there are known issues in all version of rpm caused by using it and this argument was removed in rhel6. So do following steps at your own risk.
Modify the RPM macros file (/usr/lib/rpm/macros) to repacka...

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.