<div class="gmail_quote">On Mon, Jun 15, 2009 at 9:09 PM, zhang zjmtt <span dir="ltr">&lt;<a href="mailto:jullyzhang@gmail.com">jullyzhang@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Guys,<br><br>I am using a new version of RPM. It looks like it acts in differently way than before. <br></blockquote><div><br>What version ? New respect to what ? <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>If the directory of a file doesn&#39;t exist, it will fail the dependency instead of automatically creating the directory.<br>
</blockquote><div><br>You are likely using rpm &gt; 4.4.2.x.y.x &lt;&gt; rpm 4.4.6/4.4.7 that reinforce parent-dir/linkto dependency  (good packaging habit want this, some packaging guideline also). See this <a href="https://fedoraproject.org/wiki/Packaging:UnownedDirectories">https://fedoraproject.org/wiki/Packaging:UnownedDirectories</a><br>
 <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>For example, abc.rpm contains a file fileDIR/fileNAME. If fileDIR is not installed, abc.rpm will fail the dependency check.</blockquote>
<div><br>If fileDir have not ownership from other package, well, it is of your package at minimum.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Is there any option for rpm or rpmlib to force it automaticaly create the directory?<br>
</blockquote><div><br>Put %dir fileDir in your spec file if you think this is correct for your packaging repo clousure.<br><br>hth<br><br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>_______________________________________________<br>
Rpm-list mailing list<br>
<a href="mailto:Rpm-list@lists.rpm.org">Rpm-list@lists.rpm.org</a><br>
<a href="http://lists.rpm.org/mailman/listinfo/rpm-list" target="_blank">http://lists.rpm.org/mailman/listinfo/rpm-list</a><br>
<br></blockquote></div><br>