SPECS: adapter.awk - subst /usr/lib/pkgconfig with a macro - drop ...

Jakub Bogusz qboosh at pld-linux.org
Mon Oct 10 10:10:20 CEST 2005


On Sun, Oct 09, 2005 at 03:31:04PM +0200, glen wrote:
> Author: glen                         Date: Sun Oct  9 13:31:04 2005 GMT
> Module: SPECS                         Tag: HEAD
> ---- Log message:
> - subst /usr/lib/pkgconfig with a macro

> +	gsub("/usr/lib/pkgconfig", "%{_libdir}/pkgconfig")

1. There is %{_pkgconfigdir} macro
2. Sometimes evil change - consider fragments like this (used in some
specs):

%if "%{_lib}" != "lib"
mv -f $RPM_BUILD_ROOT{/usr/lib/pkgconfig,%{_pkgconfigdir}}
%endif


-- 
Jakub Bogusz    http://qboosh.cs.net.pl/



More information about the pld-devel-en mailing list