>Correct me if I'm wrong, but I thought the Red Hat SRPMS package is
>what was configured and compiled for my distribution. It's not, it simply
>the same original version as what was compiled by Redhat for my version
>without any Linux configuration settings enabled. How do I find what
>configuration/compile options where chosen for Redhat 6.2?
The key is to look at the spec file that came with the package.
One of the features of SRPMs is that usually the original source files are
included without modification. Any necessary modifications to the original
source files are included as patch files. the SRPM's spec file controls the
application of the patches to the original source. The spec file also controls
how a package is built by including options on the configure command line
(if the package uses autoconf for configuring the make file) and on the
command line for make.
When I want to change something, I usually install the SRPM (rpm -ivh
) and unpack the source files with rpm -bp . At this
point all the patches will have been applied to the source files. Sometimes I
need to change the source, so I create a new patch file and add it to the spec
file. Other times its simply a matter of changing some command line options
in the spec file. When I'm done, I "rpm -ba ". This gives me a new
SRPM which includes my changes, and gives me a new binary rpm which I then install.
--Joe
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.