I am also interested in RedHat rpms.

I have not previously tinkered with editing spec files,
nor any aspect of building an rpm.

I just downloaded 'Maximum RPM' and the rpm-how-to.
Given the volume of documentation, it would be really
handy if someone could give me specific instructions on
what I need to modify to get a 1.4.2 RedHat rpm. I noticed
that the HKLC sources are for RedHat 7.1, which is perfect for
me. I would gladly upload the finished rpm to the Midgard site,
or make it available elsewehere.

So, I looked at the HKLC 1.4.1 spec files, and the below are
the differences I noticed, in comparison to the sources from
the Midgard site for v.1.4.2-1. There are other differences,
but these appear to be the relevant ones:

+) 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
                        Requires: mysql >= 3.23.35, mysql-server >= 3.23.35, expat >= 
1.95.1,
php >= 4.01p12
  ...and in 
     %build             cp $RPM_SOURCE_DIR/access.c.diff .
                        cat access.c.diff |patch -p0
  ...and in 
     %files             /usr/local/lib/libmidgard.so.5
                        ...etc

        
+) Midgard v.1.4.2-1    midgard-lib.spec.RedHat.in
                        
                        Version: @VERSION@
                        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


So what would the process be?

1) Put the 1.4.2-1  source directory under /usr/src/redhat?
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?
4) Repeat above for which required packages?

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

Cheers,

        Eric Thompson

Tarjei Huse wrote:
> 
> I would guess at this point the simplest would be:
> 1.download the 1.4.1 rpms from midgard.hklc.com
> 2. downl. the 1.4.2-1 sources.
> 3. edit the specfiles and run rpm -ba to build the new rpms.
> 4. Then normal rpm -i
> 
> TH
> 
> jason wrote:
> >
> > Are there any Midgard 1.4.2 RPMS available? (preferably for RedHat)

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

Reply via email to