On Mon, Jul 23, 2007 at 10:02:14AM -0700, Joshua M. Miller wrote: > I have the following variables relevant to this discussion: > %define buildroot /usr/src/redhat Err, don't do that. It doesn't do what you think it does. The buildroot is the temporary directory where the files to be installed are placed. Then the rpm archive is built from that layout. > When populating the %files section, how do I specify that a file should > be taken from the build root of: > %{buildroot}/etc/ > ...and placed in the final destination of: > /etc Putting them into the buildroot is what the %install section is for. In the %files section, list them relative to the final destination. -- Matthew Miller mattdm@xxxxxxxxxx <http://mattdm.org/> Boston University Linux ------> <http://linux.bu.edu/> _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list