Re: SPECS: php-pear-HTML_AJAX.spec - BR: sed 4.0, use __sed macro

2005-08-19 Thread Paweł Sakowski
On Thu, 2005-08-18 at 23:06 +0200, Tomasz Wittner wrote:
 By what reasons We use %{__make}? - it is just /usr/bin/make .

Until redefined as /usr/bin/make -j2 for faster SMP builds.

-- 
Paweł Sakowski [EMAIL PROTECTED]
PLD Linux Distribution

___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: SPECS: php-pear-HTML_AJAX.spec - BR: sed 4.0, use __sed macro

2005-08-18 Thread Elan Ruusamäe
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?
there's a lot of sed usage without macros so far that i know.
put it into adapter.awk?

[...]
 -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

-- 
glen
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: SPECS: php-pear-HTML_AJAX.spec - BR: sed 4.0, use __sed macro

2005-08-18 Thread Tomasz Wittner
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-deva=2002-05m=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
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en