<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">Does your provides database include every file provided by every<br>package?<br><br>so that if you encounter:
<br><br>Requires: /some/path/to/a/file<br><br>it can resolve it?</blockquote><div><br>if there is another package that has "/some/path/to/a/file" in it`s Provides i can resolve it. otherwise i can`t. (yet)<br><br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">also how are you doing your versioned-dep calculation? Are you calling<br>out to rpm for the rpm version comparisons?
</blockquote></div><br>that`s not that hard at all.<br>i just have a table with the package id, package provides/requires and the version of the requires/provides though this can use some tweaking.<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
how are you checking to see if the package foo-1.3-1 provides that<br>dependency or not?</blockquote><div><br>to put it simple:<br>SELECT * FROM PROVIDES WHERE provide_id = '##' AND provide_name = 'foo-1.3-1';
<br>(simple sample.. it`s not the query that i actually use.. that`s alot longer :P) <br></div><br><br><br><div><span class="gmail_quote">2007/4/9, seth vidal <<a href="mailto:skvidal@linux.duke.edu">skvidal@linux.duke.edu
</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Mon, 2007-04-09 at 23:19 +0200, Mark wrote:<br>> i don`t really understand what you mean..
<br>> i actually check only all the requires of a package to the provides of<br>> the packages that are in the database.<br>> but the files-as-dep.. i don`t understand that.<br>><br><br>Does your provides database include every file provided by every
<br>package?<br><br>so that if you encounter:<br><br>Requires: /some/path/to/a/file<br><br>it can resolve it?<br><br>also how are you doing your versioned-dep calculation? Are you calling<br>out to rpm for the rpm version comparisons?
<br><br><br>so if a pkg requires:<br> foo > 1:1.2<br><br>how are you checking to see if the package foo-1.3-1 provides that<br>dependency or not?<br><br>-sv<br><br><br><br>--<br>fedora-devel-list mailing list<br><a href="mailto:fedora-devel-list@redhat.com">
fedora-devel-list@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/fedora-devel-list">https://www.redhat.com/mailman/listinfo/fedora-devel-list</a><br></blockquote></div><br>