Eric Thompson wrote:

> +) HKLC v.1.4.1:      midgard-lib.spec
> 
>                       Version: 1.4.1
>                       Release: 5.hklc_RH71
>                       Distribution: Redhat Linux release 7.1 (Seawolf)
>                       Source0: midgard-lib-%{version}.tar.bz2
>                       Source1: access.c.diff

Don't know what this patch does.

> +) Midgard v.1.4.2-1  midgard-lib.spec.RedHat.in
>                       
>                       Version: @VERSION@

This gets replaced during ./configure

>                       Release: 1
>                       Distribution: Redhat Linux 6.0
>                       Source: midgard-lib-%{version}.tar.bz2
>                       Requires: MySQL >= 3.23.20, MySQL-shared >= 3.23.20, expat >= 
>1.95.1
> 
>   ...and in
>      %files           /usr/local/lib/libmidgard.so.3.1.0
>                       ...etc

The files section in CVS is out of date. It just lists what files to
package, exhoustively. Just see what gets installed. Version numbers
are whatever is relevant for the system you compile on.


> So what would the process be?
> 
> 1) Put the 1.4.2-1  source directory under /usr/src/redhat?

I think you put the tarball under /usr/src/redhat/SOURCES

> 2) Modify the 1.4.1 HKLC spec according to the 1.4.2-5 spec?
> 3) Use the modified HKLC spec with the 1.4.2 sources?

Right, whatever needs editing to make it current. Read the install
documents for midgard-lib, mod_midgard and midgard-php4; midgard-lib
now installs midgard-config, which needs to be packaged, and the other
two use it during their configure.

> 4) Repeat above for which required packages?

mod_midgard and midgard-php4.

> As you can tell by these insipid questions, could use some help here.

Ask away. I used to build redhat packages, once you manage to the
first time it's pretty easy. I did the first before I had the MaxRPM
book by looking at other packages.

Emile



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to