<div dir="ltr"><div><div>Hi,<br><br></div>I tried to create a patch to fix this issue : <a href="http://lists.openembedded.org/pipermail/openembedded-core/2013-October/085689.html" target="_blank">http://lists.openembedded.org/pipermail/openembedded-core/2013-October/085689.html</a></div>
<div><br></div>Regards,<br>Seb</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/28 Sebastien MENNETRIER <span dir="ltr"><<a href="mailto:s.mennetrier@innotis.org" target="_blank">s.mennetrier@innotis.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Paul,<br><br></div>Thanks for your answer. I filled a bug : <a href="https://bugzilla.yoctoproject.org/show_bug.cgi?id=5397" target="_blank">https://bugzilla.yoctoproject.org/show_bug.cgi?id=5397</a></div>
<div>
<br></div>Regards,<br></div>Seb</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/28 Paul Eggleton <span dir="ltr"><<a href="mailto:paul.eggleton@linux.intel.com" target="_blank">paul.eggleton@linux.intel.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Sebastien,<br>
<div><div><br>
On Monday 28 October 2013 14:44:57 Sebastien MENNETRIER wrote:<br>
> I try to cross-compile and install rubygems and the gems contain some<br>
> directories and files named "%name...".<br>
><br>
> To create the rpm package, a spec file that contains the list of all files<br>
> and directories that must be in the rpm package is generated in do_package.<br>
><br>
> The rpm process replace all the "%name" in the spec file by the name of the<br>
> package. So the package process try to include some file and directory that<br>
> doesn't exist.<br>
><br>
> How can I resolve this issue ? Is it a bug in package_rpm.bbclass ?<br>
<br>
</div></div>It is a limitation in package_rpm.bbclass's current behaviour, yes. It<br>
probably needs to be fixed to escape % at the start of a filename when writing<br>
out the spec file (assuming that is possible, that is). Could you please file a<br>
bug for this (at <a href="http://bugzilla.yoctoproject.org" target="_blank">bugzilla.yoctoproject.org</a>)?<br>
<br>
Thanks,<br>
Paul<br>
<span><font color="#888888"><br>
--<br>
<br>
Paul Eggleton<br>
Intel Open Source Technology Centre<br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>