> Is there any way to build an RPM from a tarball if you don't have a
> SPEC file? According to the man pages for RPM you can do an "rpm -tb
> <tarball>" and it'll compile an RPM for you, but it won't do so
No, that's not how it works. The -bt option is used for rpm to look within
a tarball for the specfile. Either you point it to a specific spec file,
or you point it to a tarball that contains a spec file, but either way
you've got to have one.
If you're only using RPM to keep track of a set of files, you can easily
create a spec file (untested but should work):
Summary: My Tarball
Name: mytarball
Version: 1.0
Release: 1
Copyright: GPL
Group: Applications/Tarballs
Source: mytarball-1.0-1.tar.gz
%description
My Tarball
%prep
%setup -q
%install
tar -ztvf %{SOURCE} > filelist.txt
%files -f filelist.txt
%changelog
* Sun Jan 21 2001 Dave <[EMAIL PROTECTED]>
- first version
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list