[XML-SIG] Help building XML-related Python RPM?

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Fri, 3 Nov 2000 01:36:30 +0100

> In a nutshell, what the package needs to install is
>  1. [/usr/local]/lib/ltxml12
>  2. [/usr/local]/include/ltxml12
>  3. [/usr/local]/bin/{some apps}
>  4. [/usr/local]/lib/python1.6/site-packages/PyLTXML
> Where I presume the tricky bit in the RPM is figuring out if Python1.6
> is installed (and what the other dependencies are) and what
> [/usr/local] really should be.

I believe the common "solution" to these problems is to ignore
them. Is RPM even capable to install files into a dynamically-computed
root directory?

Instead, it seems common to build an RPM on top of another one by just
knowing where that puts its files. I.e. you'd build an RPM for
BeOpen-something-2.0-rpm, and another one for
ActivePython-1.6-something.rpm. You place a depency between the two,
and when the required RPM is not there, rpm will just refuse to