On Thursday 12 June 2008 12:42:27 baggins wrote: > +%define db_ver %(rpm -q --what-provides --qf > '%%{epoch}:%%{version}' db-devel) +# .. >+Requires: db = %{db_ver} use %requires_eq_to macro? -- glen