[CMake] [CPack] RPM generator creates %dir for /usr/local/xxx
Luc J. Bourhis
luc_j_bourhis at mac.com
Wed Oct 22 07:14:26 EDT 2014
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?
-----
--
Luc J. Bourhis
--
View this message in context: http://cmake.3232098.n2.nabble.com/CPack-RPM-generator-creates-dir-for-usr-local-xxx-tp7588778.html
Sent from the CMake mailing list archive at Nabble.com.
More information about the CMake
mailing list