Michal Hrusecky escribió:
Hi,
I'm trying to resolve conflict between two packages which both provides the same library. I've got for example sblim-cmpi-nfsv3 package which depends among others on cim-server and sblim-cmpi-devel. sblim-cmpi-devel is in BuildRequires and cim-server in Requires. cim-server is provided by tog-pegasus or sblim-sfcb. tog-pegasus provides same library as sblim-cmpi-devel, so I added Conflicts to the spec files of both packages. But when I try to build sblim-cmpi-nfsv3 it pulls in both sblim-cmpi-devel and tog-pegasus although it can pull only sblim-sfcb (which is pulled in anyway (it's in PreReq)) and therefore satisfy cim-server dependency without encountering conflict. Question is simple, what am I doing wrong? One last note, it happened in build service only. I can built package locally without problem using osc. I guess that's because cim-server is in Requires only so it isn't needed during build at all but it is needed during some additional testing buildservice does?
There is either a superflous Require or BuildRequire somewhere in the dependency chain, or you have to use "buildignore" or "Prefer" -- "If this is the best God can do, I am not impressed" -George Carlin (1937-2008) Cristian Rodríguez R. Software Developer Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/