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


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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In