Hi, On Thu, 22 Feb 2007, Richard Guenther wrote:
But you are confusing Requires and BuildRequires here?
No, he's not confusing them. Our check-libtool-check script indeed gives the advise to manually add "X" to Requires: . That's his point. Once you do that manually, you loose the fact that you only added it because of an .la file, and what that need goes away, nobody is telling you anymore, that you now can remove it from Requires.
While Requires can appear and disappear without too much collateral damage, BuildRequires that can no longer be satisfied (libpopt stops to ship libpopt.la) will result in a build failure and requires manual intervention - and in that case manual decision in whether now popt-devel is required.
So, unfortunately a automated tool for reducing BuildRequires is hard because it actually needs to check if building is still possible.
I don't think he meant fiddling with BuildRequires. But let's suppose one would even do that, then it's still no problem: Situation is, that there's a BuildRequires, which by some measure is now unneeded, and we have a check for that unneededness. That check would run after the package is built (still with the superflous BuildRequires), then this BuildReq would be removed from the list. The next rebuild would not drag it in anymore, which is the right thing, because we already determined that it isn't needed anymore. Ciao, Michael. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org