[CMake] [CPack] RPM generator and directory symlink

Luc Bourhis luc_j_bourhis at mac.com
Wed Oct 15 13:34:03 EDT 2014


Hi,

I am trying to package a hierarchy with the following feature:

~> cd ROOT/usr/local/lib
~> ls -l subdir
subdir -> subdir-version

and subdir-version does indeed exist in that lib directory. CPack create a specs featuring

%dir /usr/local/lib/subdir

but then rpmbuild chokes on it with an "error: not a directory: /usr/local/lib/subdir". The %dir should not be there, should it?

This is with cpack 2.8.12.2 installed with yum on Fedora 20, and therefore rpmbuild version 4.11.3.

Best wishes,

Luc J. Bourhis

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2290 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake/attachments/20141015/03f8fe4d/attachment-0001.bin>


More information about the CMake mailing list