[TriLUG] hacking a broken src rpm

Vestal, Roy L. rvestal at rti.org
Mon Jun 3 16:01:45 EDT 2002


Thank you! I knew it had source in it, but I wasn't sure how it was
designed. 

Next question: If you just want the source I'm assuming the source tarball
is still the best.

-----Original Message-----
From: Sinner from the Prairy [mailto:sinner at escomposlinux.org]
Sent: Monday, June 03, 2002 9:40 AM
To: trilug at trilug.org
Subject: Re: [TriLUG] hacking a broken src rpm


Avui, Dilluns 03 Juny 2002 09:10, no tenieu res mes que fer i me vareu
enviar 
aquest e-mail
> Newbie question:
>
> What's the difference between src.rpms and regular rpms?

rpm packages contain the binary files, man files, info files.....
src.rpm packages contain the source, makefiles, specs...

rpm get installed in the usual places (/usr/bin /usr/lib ....)
src.rpm get installed in /usr/src/redhat (if you are in Red Hat)

rpm files are usualy pre-compiled for one specific architecture: i386.rpm , 
ppc.rpm , i586.rpm ...

src.rpm can be rebuild to get a (binary) rpm... compiled to your (default) 
architecture (i386, i586, athlon, ppc.) Or you can change that through smart

use of specs / commandline options. You can alse change the specs (make?) 
file so you can change the target directories, the amount [*] of (binary) 
that you can get.

[*] Some src.rpm , when rebuild, get you several different rpm. IIRC,  with 
xmms.src.rpm you get xmms.i386.rpm, xmms-devel.i386.rpm, xmms-libs.i386. ...

This is configurable through the specs file.


HTH


Salut,
Sinner
-- 
RedHat QA Test Engineer  --  Running RedHat 7.3 on i386smp
http://www.ibiblio.org/sinner/
_______________________________________________
TriLUG mailing list
    http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ:
    http://www.trilug.org/~lovelace/faq/TriLUG-faq.html



More information about the TriLUG mailing list