[cmake-developers] CPackRPM not dealing correctly with symlinks
Domen Vrankar
domen.vrankar at gmail.com
Thu Mar 31 16:06:41 EDT 2016
> I just tried, it seems to do the trick. An example source setup that was breaking the RPM building before, is now functioning seemingly correctly. The produced RPM gets the symlink, pointing at the location outside of the package.
>
> I would actually prefer if the code printed a warning in this case. (Requesting a relocatable package, yet pointing at a fixed location outside of the package.) As in our case it was definitely a mistake to include soft links like this in our build. But if that's hard to add to the code, then so be it.
I've added warning message to the patch.
Patch is now on next branch:
https://cmake.org/gitweb?p=cmake.git;a=commit;h=5e5d0ab
Thanks,
Domen<div id="DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br />
<table style="border-top: 1px solid #aaabb6;">
<tr>
<td style="width: 55px; padding-top: 18px;"><a
href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=oa-2115-v2-b"
target="_blank"><img
src="https://ipmcdn.avast.com/images/2016/icons/icon-envelope-tick-round-orange-v1.png"
/></a></td>
<td style="width: 470px; padding-top: 20px; color: #41424e;
font-size: 13px; font-family: Arial, Helvetica, sans-serif;
line-height: 18px;">Virus-free. <a
href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=oa-2115-v2-b"
target="_blank" style="color: #4453ea;">www.avast.com</a>
</td>
</tr>
</table><a href="#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1"
height="1"></a></div>
More information about the cmake-developers
mailing list