On Friday 27 June 2003 14:18, Mike Vanecek wrote: > Why not put: > > [admin@xxx admin]$ cat .rpmmacros > %_topdir /home/admin/rpms > %_tmppath %{_topdir}/tmp > > in a non-root account and create the standard rpm structure > underneath: > > [admin@xxx admin]$ d rpms > total 36K > drwxrwxr-- 9 admin admin 4.0K Apr 8 15:10 ./ > drwx------ 34 admin admin 4.0K Jun 27 15:15 ../ > drwxrwxr-- 2 admin admin 4.0K Jun 27 09:45 BUILD/ > drwxrwxr-- 6 admin admin 4.0K Apr 8 16:03 RPMS/ > drwxrwxr-- 2 admin admin 4.0K Jun 27 09:41 SOURCES/ > drwxrwxr-- 2 admin admin 4.0K Jun 27 09:44 SPECS/ > drwxrwxr-- 2 admin admin 4.0K Jun 10 10:31 SRPMS/ > drwxrwxr-- 3 admin admin 4.0K Jun 20 23:18 TARBALLS/ > drwxrwxr-- 2 admin admin 4.0K Jun 27 09:44 tmp/ > > Then one can build rpms all day long as non-root. Thats pretty much exactly whats in mharris' tarball (the .rpmmacros file). Although he makes a few tweaks that does a somewhat non standard rpm building environment, which I (and a lot of people) find to be more sane. -- Jesse Keating RHCE MCSE http://geek.j2solutions.net Mondo DevTeam (http://www.microwerks.net/~hugo/) Was I helpful? Let others know: http://svcs.affero.net/rm.php?r=jkeating