On Tue, Aug 22, 2006 at 09:32:58PM -0500, Rex Dieter wrote: > Kai Engert wrote: > > Is it possible by some SPEC logic, to make a "Requires:" entry dynamic? > Yes, use something like: > BuildRequires: foo-devel > %global foo_ver %(foo_bin --version) Or perhaps using %( rpm -q --qf '%%{version}' foo ). (Um, I think that works to escape the % -- didn't test.) But Kai -- what's the reason for wanting this? -- Matthew Miller mattdm@xxxxxxxxxx <http://mattdm.org/> Boston University Linux ------> <http://linux.bu.edu/> -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list