Originally posted by ksandre
I use Slackware, so use only *.tgz and *.tar.gz format (though sometimes convert *.rpm files with "rpm2tgz."
Anyway, my understanding is that srcrpms are exactly that - source code to compile then install as rpm. (Our *.tar.gz" cousin.)
It doesn't answer the addressed question, does it?
rpm - is precompiled
binaries gathered in one file
src.rpm - source
files wrapped around rpm format
installing rpm is straight forward
rpm -ihv package.rpm
installing src.rpm requires two steps (at least for me)
rpm --rebuild package.src.rpm
rpm -ihv /where/the/rpms/were/created/package.rpm
I think one-step compilation of src.rpm's is the use of --recompile flag, I've never used it though, so I might be wrong.
Let's see what others suggest, maybe I learn something new from them.