[cmake-developers] [CPack] [CPackRPM]patch for bug 15209 - handling of symbolic links

Brad King brad.king at kitware.com
Mon Nov 10 11:44:37 EST 2014


On 11/08/2014 04:17 PM, Domen Vrankar wrote:
> Patch add support for symlink handling in RPM packages.
> Symlinks to directories and files are correctly recognized as such so
> directory symlinks are no longer prefixed with %dir.
> In case of relocatable RPM packages the patch also tries to make
> symlink as relocatable as possible by making a relative path symlink
> if needed.

Thanks.  Please also look at extending the test suite with a
case for this.  There are several CPack RPM tests already.

Also, since the rpm packaging tools are posix-specific anyway,
perhaps it will be easier to maintain this transformation as a
standard shell script.  I don't feel strongly about this, but
we have the option to do it that way.  The script could be
launched with execute_process.

Thanks,
-Brad



More information about the cmake-developers mailing list