On 21-Jan-01 John Aldrich opined:
> On Sun, 21 Jan 2001, Ted Gervais wrote:
>> Is there a simple way of converting *.tar.gz files to RPM files
>> for RH7.?
>>
> Supposedly you can do an "rpm --tarbuild <tarball>" I have
> only tried it a couple times and it hasn't worked for me...
> 'course I'm on RH 6.2, but...
rpm -tb <file> --target=<arch(i386,i486,i486,etc)>
builds binary files.
rpm -ta <file> --target=<same_as_above>
builds binary & srpms.
rpm -bs <file>
builds an srpm of the file.
There are also -bb -bs and -ba available. All methods require a spec file
for the rpm already exist. If it doesn't, no build. That would then
require one to find or design a spec file for the tarball in order to
build it.
The -b? options are mentioned in 'man rpm' but, I don't recall if the -t?
options are or not.
--
Dead men tell no tales. Then again, neither do mimes.
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list