Re: inside rpms...

2004-01-11 Thread Oded Arbel
09 × 2004, 23:43, ×× ××× Diego Iastrubni: > 1) the file list, > find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > ... > %files -f ../file.list.kfiresaver3d > > does anyone have a better trick? I dont like the "cd". > Sometimes I am lazy and I just do "/". It do

inside rpms...

2004-01-09 Thread Diego Iastrubni
Hi all, I have a few questions to you about making rpm specs. I hope any one can help me :) 1) the file list, I usually do is something like this: cd $RPM_BUILD_ROOT find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.kfiresaver3d find . -type f | sed 's,