Thanks Eric and Micha for the clarification.<div><br></div><div>Jupiter<br><br><div class="gmail_quote">On Thu, Jun 28, 2012 at 12:54 AM, Eric Noulard <span dir="ltr"><<a href="mailto:eric.noulard@gmail.com" target="_blank">eric.noulard@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2012/6/27 hce <<a href="mailto:jupiter.hce@gmail.com">jupiter.hce@gmail.com</a>>:<br>
<div class="im">> Hi,<br>
><br>
> I've read some discussions posted ten months ago on<br>
> <a href="http://cmake.3232098.n2.nabble.com/Component-Package-Name-td6976896.html" target="_blank">http://cmake.3232098.n2.nabble.com/Component-Package-Name-td6976896.html</a><br>
> where Eric Noulard pointed out that we could not control component package<br>
> name for the reason of unique package name. I am currently running on 2.8.8<br>
> and generated very funny component package name:<br>
><br>
> foo-1.1-1.0.el6.x86_64-FooComponent.rpm, it basically set by following<br>
> format:<br>
><br>
> ${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_SYSTEM_NAME}-${COMPONENT_NAME}.rpm<br>
><br>
> That is not a good format of rpm package name. Can we take control the<br>
> component package name in 2.8.8?<br>
<br>
</div>Not yet see:<br>
<a href="http://public.kitware.com/Bug/view.php?id=12997" target="_blank">http://public.kitware.com/Bug/view.php?id=12997</a><br>
<br>
Won't probably be in 2.8.9 either.<br>
I know it will be useful for many of us, I just lack time to go through it.<br>
The work is not that difficult but it has many potential impact so that<br>
we shall take time to do it carefully.<br>
<div class="im"><br>
> BTW, when I build two packages foo-1.1 and , the bin-1.2, the CPack<br>
> generates an extra Unspecified package, theCPackConfig.cmake set:<br>
><br>
> SET(CPACK_COMPONENTS_ALL<br>
> "foo-1.1-1.0.el6.x86_64;bin-1.2-1.el6.x86_6;Unspecified")<br>
><br>
> Where the Unspecified come from and now can I fix it?<br>
<br>
</div>As Micha said, this comes from an INSTALL statement which<br>
does not contains COMPONENT.<br>
see<br>
<a href="http://www.vtk.org/Wiki/CMake:Component_Install_With_CPack#Specificying_components_and_groups" target="_blank">http://www.vtk.org/Wiki/CMake:Component_Install_With_CPack#Specificying_components_and_groups</a><br>
<br>
or this recent discussion:<br>
<a href="http://www.cmake.org/pipermail/cmake/2012-June/050855.html" target="_blank">http://www.cmake.org/pipermail/cmake/2012-June/050855.html</a><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Erk<br>
Le gouvernement représentatif n'est pas la démocratie --<br>
<a href="http://www.le-message.org" target="_blank">http://www.le-message.org</a><br>
</font></span></blockquote></div><br></div>