On Sat, Mar 31, 2001 at 12:03:16AM +1000, stephen noble <[EMAIL PROTECTED]> wrote:
> 
> -+-+-+-+-
> the correct values for skel
>  -e 's@^/etc/e-smith/web/panels$@%attr(0550,root,admin) &@g' \
>  -e 's@^/etc/e-smith/web/functions$@%attr(0550,root,admin) &@g' \
>  -e 's@^/etc/e-smith/web/common$@%attr(0550,www,admin) &@g' \
> 
> the old ones, this really stuffed the panel but was easy to fix once 
> i isolated it, grrr
>  -e 's@^/etc/e-smith/web/panels$@%attr(0100,www,shared) &@g' \
>  -e 's@^/etc/e-smith/web/functions$@%attr(0100,www,shared) &@g' \
>  -e 's@^/etc/e-smith/web/common$@%attr(0100,www,shared) &@g' \
> 
> i don't want to nag but an e-smith-skel-0.1-2 would be nice 
> [...]

A new e-smith-skel _is_ being worked right now. You don't need all of those 
sed lines - this can all be done more cleanly with e-smith-devtools. We hope
the new e-smith-skel will be out very soon now - we're trying to make
it reasonably well documented so people can understand it.

Have a look at the spec file of a recent e-smith-* package and you'll see:

  %install
  rm -rf $RPM_BUILD_ROOT
  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
  rm -f e-smith-%{version}-filelist
  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > e-smith-%{version}-filelist

  %clean
  rm -rf $RPM_BUILD_ROOT

  %files -f e-smith-%{version}-filelist
  %defattr(-,root,root)

genfilelist is in e-smith-devtools and means all of that error-prone
ugliness goes away.

Gordon
--
  Gordon Rowell                         [EMAIL PROTECTED]
  http://www.e-smith.org (development)  http://www.e-smith.com (corporate)
  Phone: +61 (0418) 467 366             Fax: +1 (613) 564 7739
  e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada

Reply via email to