[packages/lighttpd] do not override _libdir macro

Jakub Bogusz qboosh at pld-linux.org
Sun Oct 16 16:45:22 CEST 2016


On Sun, Oct 16, 2016 at 04:22:13PM +0200, glen wrote:
> commit f4599c5b40795c07193edffbb6cbf9343f789dd8
> Author: Elan Ruusamäe <glen at delfi.ee>
> Date:   Sun Oct 16 17:19:19 2016 +0300
> 
>     do not override _libdir macro
>     
>     it breaks my ccache setup
> 
>  lighttpd.spec | 77 ++++++++++++++++++++++++++++++-----------------------------
>  1 file changed, 39 insertions(+), 38 deletions(-)
> ---
> diff --git a/lighttpd.spec b/lighttpd.spec
> index 525a819..51f9aae 100644
> --- a/lighttpd.spec
> +++ b/lighttpd.spec
> @@ -165,7 +165,7 @@ Conflicts:	logrotate < 3.7-4
>  Conflicts:	rpm < 4.4.2-0.2
>  BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
>  
> -%define		_libdir		%{_prefix}/%{_lib}/%{name}
> +%define		_libexecdir		%{_libdir}/%{name}

I suggest custom macros for such uses (eg. %pkglibdir) or no macro at
all (--libdir=%{_libdir}/%{name}, %{_libdir}/%{name}/... in files).
Shared modules logically have nothing to do with libexecdir.


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


More information about the pld-devel-en mailing list