On Wednesday, 13 April 2005, at 06:43:23 (-0500), Chris Adams wrote: > That is not true. I've got several perl RPMs built with the following > in the spec file (I know this isn't 100% correct; I plan to fix it when > I get some round tuits): > > %define filelist %{perlname}-%{version}-filelist > [ -x %{_libdir}/rpm/brp-compress ] && %{_libdir}/rpm/brp-compress > find %{buildroot}%{_prefix} -type f -print |\ > perl -pe 's!%{buildroot}!!g' > %{filelist} > > %files -f %{filelist} > %defattr (-, root, root) > %doc README > > I can build an RPM as a non-root user, and the files properly get the > root/root defattr applied. Change the %defattr to 0123, nobody, nobody and see if it still "works." 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) ----------------------------------------------------------------------- "Do you know why so many great pictures are about love triangles? Simple. For every piece of happiness, there's also a piece of unhappiness. If you haven't told both sides, you haven't told the whole story." -- Harve Presnell (A. I. Brooks), "Dawson's Creek" _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list