[CMake] Relocatable RPM

Rolf Eike Beer eike at sf-mail.de
Tue Aug 17 16:43:22 EDT 2010


Am Tuesday 17 August 2010 schrieb Eric Noulard:

> set(CPACK_RPM_PACKAGE_RELOCATABLE TRUE)
> 
> and CPackRPM will try to build a relocatable package.
> This will surely FAIL if:
>      - some file are installed with absolute path

Do you mean the packaging will fail or the installation? When you have a 
package with a prefix of /opt and relocate it to /usr/local there is usually no 
problem with files e.g. in /etc, they are simply not relocated.

Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100817/5f6f2e07/attachment.pgp>


More information about the CMake mailing list