On FC6 with cmake 2.6.4<br><br>After some checks:<br>I have a INSTALL(file DESTINATION /etc/init.d) but I think that directories /etc and /etc/init.d should not be include in the files section of the spec file<br>(because I have a conflict with the package chkconfig which also provides the /etc/init.d directory).<br>
<br>To be clear, if I generate a RPM with a file in /etc/init.d, I should have:<br>rpm -qpl test.rpm<br>/etc/init.d/file<br>and NOT<br>/etc<br>/etc/init.d<br>/etc/init.d/file<br><br>I wrote a first patch to change the original behavior of CPackRPM.cmake.<br>
<br><div class="gmail_quote">2009/10/3 Eric Noulard <span dir="ltr"><<a href="mailto:eric.noulard@gmail.com">eric.noulard@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2009/10/2 David <<a href="mailto:cmoidavid@gmail.com">cmoidavid@gmail.com</a>>:<br>
<div class="im">> Hello,<br>
> When I generate a RPM with cpack (cmake 2.6), intermediate directories are<br>
> include in the package :<br>
> rpm -qpl test.rpm<br>
> /etc<br>
> /etc/init.d<br>
> /etc/init.d/file<br>
<br>
</div>CPack RPM generator should NOT include folder or file that<br>
does not correspond to some CMakeLists.txt INSTALL directive?<br>
<br>
Would you be kind kind enough either to check whether<br>
if you really don't have some INSTALL( ... file DESTINATION /etc/init.d)<br>
in your CMakeLists.txt or may be provide a small project which exhibits<br>
the issue.<br>
<br>
Could you precise "x" value in cmake 2.6.x ?<br>
Which linux distros are your using to build the RPM?<br>
<font color="#888888"><br>
<br>
<br>
<br>
--<br>
Erk<br>
Membre de l'April - « promouvoir et défendre le logiciel libre » -<br>
<a href="http://www.april.org" target="_blank">http://www.april.org</a><br>
</font></blockquote></div><br>