SPECS: pango.spec - skip sed, use shell construct

glen glen at pld-linux.org
Tue Jan 8 21:18:36 CET 2008


Author: glen                         Date: Tue Jan  8 20:18:36 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- skip sed, use shell construct

---- Files affected:
SPECS:
   pango.spec (1.184 -> 1.185) 

---- Diffs:

================================================================
Index: SPECS/pango.spec
diff -u SPECS/pango.spec:1.184 SPECS/pango.spec:1.185
--- SPECS/pango.spec:1.184	Tue Jan  8 21:02:45 2008
+++ SPECS/pango.spec	Tue Jan  8 21:18:31 2008
@@ -43,7 +43,7 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %if "%{_lib}" != "lib"
-%define		libext		%(echo "%{_lib}" | sed -e 's/^lib//')
+%define		libext		%(lib="%{_lib}"; echo ${lib#lib})
 %define		_sysconfdir	/etc/%{name}%{libext}
 %define		pqext		-%{libext}
 %else
@@ -301,6 +301,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.185  2008-01-08 20:18:31  glen
+- skip sed, use shell construct
+
 Revision 1.184  2008-01-08 20:02:45  qboosh
 - better pqext handling, w/o unnecessary -32 on single-ABI (and bogusz on pure-64bit) archs
 - ghost soname symlinks
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/pango.spec?r1=1.184&r2=1.185&f=u



More information about the pld-cvs-commit mailing list