Done ;-)<br>Bug 9653 on CMake 2.6<br>Bug 9654 on CMake 2.8<br><a href="http://public.kitware.com/Bug/view.php?id=9653">http://public.kitware.com/Bug/view.php?id=9653</a><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/3 David <<a href="mailto:cmoidavid@gmail.com">cmoidavid@gmail.com</a>>:<br>
<div class="im">> 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<br>
> /etc and /etc/init.d should not be include in the files section of the spec<br>
> file<br>
> (because I have a conflict with the package chkconfig which also provides<br>
> 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>
</div>That is clear.<br>
<div class="im"><br>
> I wrote a first patch to change the original behavior of CPackRPM.cmake.<br>
<br>
</div>Patch is welcomed I'll test it.<br>
Would you be kind enough to open a bug for this on the bug tracker:<br>
<a href="http://public.kitware.com/Bug" target="_blank">http://public.kitware.com/Bug</a><br>
<br>
and attach the patch to the tracker, that way CMake developer may be able<br>
to track the issue properly.<br>
<br>
I think you should try to provide patch for CMake 2.6.x and may be<br>
CMake 2.8.0-rcX<br>
too because CMake 2.8.x is entering rc stage for which "minor" bug fixes may<br>
still be included (I'm not deciding this though, just an opinon).<br>
<br>
I'm not a CMake developer, I'm just contributing to CMake with CPackRPM<br>
and maintaining some Wiki information about it:<br>
<a href="http://www.cmake.org/Wiki/CMake:CPackPackageGenerators#RPM_.28Unix_Only.29" target="_blank">http://www.cmake.org/Wiki/CMake:CPackPackageGenerators#RPM_.28Unix_Only.29</a><br>
I may help testing your patch too.<br>
<br>
If you file the bug please, send at least one more message to the list which<br>
points to the appropriate bug tracker link.<br>
<br>
--<br>
<div class="im">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>
</div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br>