OCaml Packaging wiki page

Jerry James loganjerry at gmail.com
Thu Dec 22 15:41:23 UTC 2011


I'm reviewing a submission of an ocaml program.  The spec file has
this at the top:

%global _use_internal_dependency_generator 0
%global __find_requires /usr/lib/rpm/ocaml-find-requires.sh
%global __find_provides /usr/lib/rpm/ocaml-find-provides.sh

as required by https://fedoraproject.org/wiki/Packaging:OCaml#Requires_and_provides.
 But it seems that those lines are not only unnecessary, but
detrimental.  Taking them off generates the same Requires/Provides
(due to /usr/lib/rpm/fileattrs/ocaml.attr), plus additional ones.  In
the case of the package I'm reviewing, it's innocuous.  But I have an
ocaml package that I maintain where the extra Requires/Provides
generated by omitting those lines appear to be significant.

Is the wiki correct?  Are those lines still needed for some reason?
Or is the wiki out of date?
-- 
Jerry James
http://www.jamezone.org/


More information about the ocaml-devel mailing list