RPMs, Sources and all that

roger at audiblefaith.com roger at audiblefaith.com
Tue Nov 16 20:45:32 UTC 2004


>Well, sorta.  If you install a ".src.rpm", you don't end up with source
>that you do the normal "./configure;make;make install" operations.  The
>source ends up in "/usr/src/redhat", with files distributed among the
>various directories in there.  To make a batch of files that you can
>do the "./configure;make;make install", you have to go to the
>"/usr/src/redhat/SPECS" directory and run:
>
>     rpmbuild -bp name-of-spec-file

I'm not clear on the above. What is contained in the spec file? Is this done without first installing the .src.rpm? Or when I install the .src.rpm will I get a spec file? I looked at a spec file that was there, and that helped some, but I am not clear on where the PHP spec file will come from. The rpmbuild man pages did not help in this.

Thanks,
Roger




More information about the Redhat-install-list mailing list