Austin Acton wrote: > On Tue, 2003-01-21 at 05:06, Buchan Milne wrote: > >>My approach was going to be to do this all from inside a .rpmmacros >>file, but I haven't gotten around to adding the making of directories >>yet. Try this rpmmacros file for size ... > > > I know my script isn't perfect, and BTW, your .rpmmacros kicks ass. > I'm just always barking at people (especially club volunteers) not to > build as root. I just wanted a little script I could give them. >
Same, but maybe we could even get default macros into /usr/lib/rpm/macros, so that by default it would be right, and only using /usr/src/RPM if [ `id -u` -eq 0 ]. First step would be to test the macros in a ~/.rpmmacros file and get them all generic ... Buchan -- |--------------Another happy Mandrake Club member--------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
