[CentOS] Making rpm from tar.gz

Rodrigo Barbosa rodrigob at darkover.org
Mon Apr 23 22:52:01 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Apr 24, 2007 at 06:46:13AM +0800, John Summerfield wrote:
> Ioannis Vranos wrote:
> >OS: CentOS 5 x86.
> >
> >
> >I have read in some places that we can make an rpm package from tar.gz, 
> >by issuing rpmbuild -ta. However it doesn't seem to work. Any hints?
> 
> 
> Generally works well if there's a .spec file in the tarball, not at all 
> if there's none. I don't know exactly what happens if there are two or 
> more .spec files; I suspect you get rpms as defined by one of them.

The "-t" code on rpm is ugly, Ugly, UGLY. I avoid using it at all costs.
Having more than one specfile on the tarball is not something I would
be willing to experiment with.

[]s

- -- 
Rodrigo Barbosa
"Quid quid Latine dictum sit, altum viditur"
"Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFGLTiRpdyWzQ5b5ckRAl4MAKC2CpoIRSz+NN+eOJKTsCTpedYhdACfQCKc
mNkDXhaoUookpfWmcZbafCs=
=2XYj
-----END PGP SIGNATURE-----



More information about the CentOS mailing list