SPECS: esvn.spec - fix Categories - sed unified + BR sed >= 4.0

Tomasz Wittner twittner at o2.pl
Tue Jan 25 20:37:09 CET 2005


On Sun 23. of January 2005 18:50, Paweł Sakowski wrote:
> On Sun, 2005-01-23 at 16:49 +0000, charles wrote:
> > @@ -27,7 +27,9 @@
> >  %setup -q -n %{name}
> >
> >  %build
> > -sed -i -e 's#-lqt #-lqt-mt #g' *.*
> > +%{__sed} -i 's,-lqt ,-lqt-mt ,g' *.vpj
>
> Why use %{__sed} instead of sed? You can't use another sed
> implementation anyway, it's sed itself that's BuildRequired.
Because on some systems (FreeBSD) sed != gsed. I have %__sed defined 
as /usr/local/bin/gsed. The same issue with %{__make} make (gmake) and so on.
-- 
Tomasz Wittner




More information about the pld-devel-en mailing list