Comment 10 for bug 633636

Revision history for this message
In , Jeff (jeff-redhat-bugs) wrote :

Add a %pretrans script to rename the directory and create the symlink.

WORKSFORME (and for all versions of rpm back to when %pretrans was added.)

You will have to worry about dependencies if you wish to install into an empty chroot.
%pretreans -p <lua> rather than using /bin/sh is recommended.