RPM: source

Matt H. helios82 at optushome.com.au
Thu Jan 22 13:07:46 UTC 2004


On Thu, 22 Jan 2004 13:54:17 +0100, Giorgio GUGLIELMONE wrote:

> Like creating a package RPM from the compilation of
> sources ?
Not sure what you mean. Do you want to compile a .rpm from a .src.rpm?
If that's the case then issue a `rpmbuild --rebuild --target arch
package.src.rpm`. The --target option is optional, but recommended.
Or do you mean from a compressed tarball .tgz? You can do that too by
issuing a `rpmbuild -ta --target arch filename.tgz`. The -a option
compiles a source and binary rpm. If you only want the binary, then use
"-tb" options instead. One caveat though; the .tgz archive must include a
.spec file which most usually do.

HTH
-- 
Matt





More information about the fedora-list mailing list