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?
On Mon, Apr 23, 2007 at 04:15:53PM +0300, Ioannis Vranos wrote:> 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?The tarball needs to have the spec file inside otherwise rpmbuild won't know how to build it. -- rgds Stephen
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, Apr 23, 2007 at 04:15:53PM +0300, 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?- -ta will only work if you have a specfile inside the tarball. Otherwise, you will have to create the specfile yourself. Best Regards, - -- 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) iD8DBQFGLLL4pdyWzQ5b5ckRAn3TAKCtDnkpK+uPVXPADas/43HU1ngOugCgllDf UYLjdb66O4Fr45afjrlE0NU=H1IA -----END PGP SIGNATURE-----
> 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?This requires that there is a .spec file in the tar.gz.
On Mon, 23 Apr 2007, Ioannis Vranos wrote:> 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?The tarball has to have a .spec file within itself for this to work - not all do -- Russ Herrold
On Mon, 23 Apr 2007 16:15:53 +0300, Ioannis wrote:> 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?Might checkinstall help? Miark
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. -- Cheers John -- spambait 1aaaaaaa at coco.merseine.nu Z1aaaaaaa at coco.merseine.nu Please do not reply off-list