SPECS: glibc.spec (HEAD)

Jakub Bogusz qboosh at pld-linux.org
Tue Oct 21 12:54:54 CEST 2003


On Tue, Oct 21, 2003 at 12:50:24PM +0200, qboosh wrote:
> - strange: min_kernel must be defined as global to be expanded after
>   %%if %%{with idn} line :O


> -%{!?min_kernel:%define		min_kernel	2.2.0}
> +%{!?min_kernel:%global		min_kernel	2.2.0}

>  %if %{with idn}

> +	--enable-kernel="%{min_kernel}" \


No właśnie - ktoś wie dlaczego?

Po linii "%if %{with idn}" makro %{min_kernel} przestaje być rozwijane
(do %configure było przekazywane "%{min_kernel}" zamiast "2.2.0").
To samo przy "%if %{defined with_idn}.
Dopiero w przypadku użycia "%if 0%{?with_idn:1}" wystarcza %define.
A tak jak jest, musi być %global.


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



More information about the pld-devel-pl mailing list