Is it possible to dynamize "requires" at RPM build time?

Chris Adams cmadams at hiwaay.net
Wed Aug 23 15:26:33 UTC 2006


Once upon a time, Jesse Keating <jkeating at redhat.com> said:
> On Wednesday 23 August 2006 11:06, Chris Adams wrote:
> > Not that I'm advocating it, but why?  rpmbuild is pretty much
> > independent of the RPM database except for querying build dependencies.
> 
> The rpm database may not have been created with the same rpm you'd be using in 
> the buildroot.  *BOOM*

Oohhh.

<goes and checks some personal spec files...>

Well, how would you suggest a build-time dependency be generated for
non-library stuff?  For example, I build a separate sendmail config RPM,
and I have it depend on the version of sendmail that the sendmail-cf
used during build it is built against (e.g. if sendmail-cf 8.12.7 is
used to build the config, sendmail-8.12.7 is required).

-- 
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.




More information about the fedora-devel-list mailing list