On Tue, 2005-02-01 at 09:58 +0100, Enrico Scholz wrote: > I just said that BuildRequires: must not be determined by the header of > the src.rpm package. "Must not" is a bit strong expression, the correctness of the build deps retrieved that way depends on what one wants to achieve. The SRPM header contains the build dependencies resolved one way or the another at the time the SRPM was built, that's it. Depending on the use case, that may or may not meet the requirements. For the vast majority of packages (most do not do any conditionals/scripting mentioned earlier in this thread) the SRPM header info is "correct" in the same-as-in-the-specfile sense. Granted, that's not enough for eg. build systems having certain requirements. But that doesn't make the data completely useless, one just has to be aware of the limitations.