2014-10-22 13:20 GMT+02:00 Bill Somerville <[email protected]>: > On 22/10/2014 12:14, Luc J. Bourhis wrote: > > Hi Luc, > >> With >> >> install(FILES xxxxx DESTINATION /usr/local/bin) >> >> CPack 2.8.12 generates a specs file featuring >> >> %dir "/usr/local" >> %dir "/usr/local/bin" >> >> Then rpm -i the generated rpm file fails on Fedora 20 with >> >> file /usr/local from install of >> simple-install-in-usr-local-bin-0.1.1-1.i686 conflicts with file from >> package filesystem-3.2-19.fc20.i686 >> file /usr/local/bin from install of >> simple-install-in-usr-local-bin-0.1.1-1.i686 conflicts with file from >> package filesystem-3.2-19.fc20.i686 >> >> What is it I am missing? >> > CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION >
More docs on this for 2.8.12: http://www.cmake.org/cmake/help/v2.8.12/cpack.html#variable:CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION I guess that "/usr/local" may be added to CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST default list values. For Domen: see the history of this story here: http://public.kitware.com/Bug/view.php?id=13609 -- Erk L'élection n'est pas la démocratie -- http://www.le-message.org
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake
