[Fedora-packaging] Ocaml sub-package issue

Orion Poplawski orion at cora.nwra.com
Mon Sep 28 22:33:24 UTC 2009

I package plplot which ships bindings for oodles of languages, among 
them perl and ocaml.  The ocaml packaging guidelines suggest:

%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

to add the required ocaml Requires/Provides.  However, this breaks the 
automatic perl (and other?) generation for the perl sub-package.

How should this be handled?  Is there a way to add the 
ocaml-find-requires/provides to the normal list of providers?  Shouldn't 
this be done automatically by the build system?

Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com

More information about the Fedora-packaging mailing list