Conner Finlay wrote:
Paul,
Wouldn't BuildRequires: be pretty much the same thing as doing a manual yum install of the package, then building the spec file?
Yes; that's the way dependencies are done. The spec file contains the dependency information and it's up to the user how to satisfy that dependency.
Given that packages should be built as non-root users for security reasons, nothing in the spec file that attempted to download and install dependencies on to the system (and in particular, into the rpm database) would work anyway due to permissions.
Paul.