I'm working on XML::Xerces, a Perl module that interfaces with the Apache Xerces-C XML parsing library. The Perl module is hard-coded to work against a specific version of the XML library. That is, XML::Xerces 2.5.0.x works ONLY with Xerces-C 2.5.0.

What's the best way to express this in the .info? What I'd like to say is:
Depends: xerces-c (= 2.5.0-*)
or
Depends: xerces-c (>= 2.5.0-1 && << 2.5.1-1)
or even
Depends: xerces-c (2.5.0-1 <= %v << 2.5.1-1)
or
Depends: xerces-c (>= 2.5.0-1), xerces-c (<< 2.5.1-1)
But I don't think any of those are valid syntax (it's hard to determine without actually trying them).

Is this possible with the current fink? So far my best workaround has been to hardcode the version into the name of the parent library. That is, I have xerces-c23.info and xml-xerces-c23-pm.info that are aligned on v2.3.0.

Is there a way I could use Conflicts to work around this?

Chris
--
Chris Dolan, Software Developer, Clotho Advanced Media Inc.
608-294-7900, 1435 E Main St, Madison WI 53703

Attachment: PGP.sig
Description: This is a digitally signed message part



Reply via email to