On Thu, 5 Mar 2009, Stanislav Brabec wrote:
Cristian Rodríguez wrote:
Stanislav Brabec escribió:
A bit later, several low-level packages changed its dependencies. High level packages did not get devel packages they expected and failed,
So it had the expected behaviuor.. if something critical changes, we want to know about it right ? or we will carry a huge amount of unneded dependencies till the end of times ?
It is not expected behavior. Suppose you are building your package against the two different versions of openSUSE (you even may install exactly the same package to more versions of openSUSE). In both of them the package has exactly the same dependencies. In one distro, the devel file works because the needed package is required implicitly by one of low level packages. In the second one, its use will fail.
Solution: Never expect that low level packages will import some package for you and you are always on the safe side.
No, the solution is of course for -devel packages to Require what they require for building an application against themselves. Recursively expanding them to BuildRequires of an application package is just wrong IMHO. So our Requires should already be as complete as what .pc files specify. Richard.