On Mon, Dec 27, 2004 at 11:26:01AM -0800, Gary Funck wrote:
> OK. If I want to do some initial configuration, and create
> an RPM from the result, should I first modify the files as
> required, do a make, then make test, and then create a tar
> file from the resulting build directory, and then run
> rpmbould -tb <new_tar_file>.tgz to get the desired result?

I'm not sure what you're asking here.  What exactly is your "desired result"?

If you want the rpmbuild to do a "make test", you can modify the spec
file to do that pretty easily.  The tarball that's typically used is
the result of "make dist" from the subversion working copy, BTW.  I wouldn't
bother with tarring up a working directory then doing a build, the rpm is
simple going to do the build over.

If you want your RPM to also include your own configuration, you can do that,
but you'll probably need to modify the spec file a bit.  I'd create the
configs as extra source files and copy them into place during the install
phase.

-- 
Randomly Generated Tagline:
"Neil hasn't locked and loaded anything other than a floppy disk."
         - Unknown at Collective Technologies Hiring Weekend (4/29/2000)

Attachment: pgpF517WrEp90.pgp
Description: PGP signature

Reply via email to