OCaml find-requires and find-provides
Richard W.M. Jones
rjones at redhat.com
Fri May 25 17:28:11 UTC 2007
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ocaml-spec.patch
Type: text/x-patch
Size: 2276 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20070525/18743d0d/attachment-0008.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ocaml-find-provides.sh
Type: application/x-shellscript
Size: 1878 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20070525/18743d0d/attachment-0009.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ocaml-find-requires.sh
Type: application/x-shellscript
Size: 2160 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20070525/18743d0d/attachment-0010.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20070525/18743d0d/attachment-0011.bin
More information about the devel
mailing list