<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">&lt;<a href="mailto:s.mennetrier@innotis.org" target="_blank">s.mennetrier@innotis.org</a>&gt;</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">&lt;<a href="mailto:paul.eggleton@linux.intel.com" target="_blank">paul.eggleton@linux.intel.com</a>&gt;</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>
&gt; I try to cross-compile and install rubygems and the gems contain some<br>
&gt; directories and files named &quot;%name...&quot;.<br>
&gt;<br>
&gt; To create the rpm package, a spec file that contains the list of all files<br>
&gt; and directories that must be in the rpm package is generated in do_package.<br>
&gt;<br>
&gt; The rpm process replace all the &quot;%name&quot; in the spec file by the name of the<br>
&gt; package. So the package process try to include some file and directory that<br>
&gt; doesn&#39;t exist.<br>
&gt;<br>
&gt; 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&#39;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>