Here are some working find-requires and find-provides scripts for OCaml.
The produce dependencies according to what I wrote about here:
https://www.redhat.com/archives/fedora-packaging/2007-May/msg00105.html
(Ignore the earlier versions of the same scripts attached to that email).
To use them is simply a matter of adding the following lines to a spec file:
%define _use_internal_dependency_generator 0
%define __find_requires /usr/lib/rpm/ocaml-find-requires.sh
%define __find_provides /usr/lib/rpm/ocaml-find-provides.sh
Also attached is a patch to the ocaml.spec file to install these.
I've got working specs/SRPMs for ocaml-findlib, ocaml-extlib, ocaml-pcre
and ocaml-calendar, which I'm going to put into BZ shortly as review
requests.
Rich.
--
Emerging Technologies, Red Hat -
http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in
England and Wales under Company Registration No. 03798903