On Tuesday, 27 June 2006, at 17:05:26 (-0500), Wesley Leggette wrote: > Prefix: @AUTOCONF_PREFIX@ > > Because my rpaths are set through a similar mechanism, would you > suggest keeping Prefix: and just being thorough about always using > --prefix=/usr when I configure and build rpms for distribution? The Prefix: header is for relocatable packages. It should only be specified for relocatable paths in a package. Chances are your package should not be using Prefix: at all. > Otherwise I'm afraid someone might use the default prefix > (/usr/local) and then build rpms that install everything in prefix > /usr. The spec file should call %configure to run the autoconf configure script, and that macro will provide its own --prefix value. There is really very little which makes sense to be auto-generated in the spec file. I recommend against auto-generated spec files, myself. Michael -- Michael Jennings (a.k.a. KainX) http://www.kainx.org/ <mej@xxxxxxxxx> n + 1, Inc., http://www.nplus1.net/ Author, Eterm (www.eterm.org) ----------------------------------------------------------------------- "I've never seen you looking so gorgeous as you did tonight. I've never seen you shine so bright; you were amazing. I've never seen so many people want to be there by your side, and when you turned to me and smiled, it took my breath away." -- Chris Deburgh, "The Lady in Red" _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list