On Jun 5, 2007, at 4:16 PM, Michael Schroeder wrote:
On Mon, Jun 04, 2007 at 09:57:52AM +0200, Michal Marek wrote:
So it seems that if a dependency is satisfied by a package name directly, that package is preferred over packages which satisfy the dependency via Provides:. It works as expected if either all packages satisfy the dependency by package name, or all by Provides:. Eg. mysql-devel pulls in the new mysql-client package (via name), and mysql-client pulls in the new libmysqlclient15 package (via libmysqlclient.so.15(libmysqlclient_15)).
So a) is this expected or is it a bug?
It's expected. It is done to give the user a way to break ambiguities. I.e., if there's an expansion error, you can add the package you want to the BuildRequires and the build will work.
b) can we work around it somehow? Using BuildRequires: libmysqlclient-devel would be tricky, because php5 builds also against pristine distributions.
You can add a "Substitute: mysql-devel libmysqlclient-devel" for your repository.
what's the syntax for that? is it used somewhere else that we can use as an example? --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org