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

Elan Ruusamäe glen at delfi.ee
Mon Oct 10 11:19:22 CEST 2005


On Monday 10 October 2005 11:10, Jakub Bogusz wrote:
> 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
taken care

> 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
moved to use_files_macros() so it has only effect on %files lists.

-- 
glen



More information about the pld-devel-en mailing list