On Thu 18. of August 2005 22:15, Elan Ruusamäe wrote:
> On Thursday 18 August 2005 23:09, darekr wrote:
> > Author: darekr                       Date: Thu Aug 18 20:09:42 2005 GMT
> > Module: SPECS                         Tag: HEAD
> > ---- Log message:
> > - BR: sed 4.0, use __sed macro
> what for?
By what reasons We use %{__make}? - it is just /usr/bin/make .
I've found some justifications:
http://archive.netbsd.se/?ml=viewcvs-dev&a=2002-05&m=406158
https://www.redhat.com/archives/fedora-test-list/2003-August/msg01306.html
(PLD also is mentioned ;)
Personally, on my FreeBSD box I have %_sed definied as /usr/local/bin/gsed
because PLD relies on GNU sed which is differ from /bin/sed which comes with
fbsd base system so using macros instead plain commands invokation was more
convenient for me (I don't use fbsd at the moment).
> there's a lot of sed usage without macros so far that i know.
> put it into adapter.awk?
Do it, if you please, but mayby wait some time for other's people opinions.
> 
> [...]
> > -sed -i -e '[EMAIL PROTECTED]@#%{php_pear_dir}#g' -e 
> > "s#'HTML_AJAX'#'HTML'.DIRECTORY_SEPARATOR.'AJAX'#g" \
> > +%{__sed} -i -e '[EMAIL PROTECTED]@#%{php_pear_dir}#g' -e 
> > "s#'HTML_AJAX'#'HTML'DIRECTORY_SEPARATOR.'AJAX'#g" \
> >         $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/AJAX/Server.php
> 

-- 
Tomasz Wittner
_______________________________________________
pld-devel-en mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to