On Thu, 22 Feb 2007, Robert Schiele wrote:

> On Thu, Feb 22, 2007 at 10:08:07AM +0100, Richard Guenther wrote:
> > So, unfortunately a automated tool for reducing BuildRequires is hard
> > because it actually needs to check if building is still possible.
> 
> If it was only that it wouldn't be that hard because you could actually test
> in an automated way whether a build succeeds or not.  But it is actually
> harder because it would be needed to check whether it builds _and_ and result
> is what you wanted to have.  For example a package that can be built with or
> without a specific optional support library with just less functionality
> without this support library would always tend to remove this dependency thus
> losing the (eventually) wanted functionality.

Yes - I did this once semi-manually by ensuring the built packages is
(nearly) bit-for-bit identical to the old one.  I hope to get back to it
at the point OBS supports bootstrapping Base:build.

Richard.

-- 
Richard Guenther <[EMAIL PROTECTED]>
Novell / SUSE Labs
SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746 - GF: Markus Rex
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to