On Thu, Dec 22, 2011 at 8:41 AM, Jerry James <loganjerry(a)gmail.com> wrote:
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?
Anybody? Anybody? Bueller?
--
Jerry James
http://www.jamezone.org/