From: Arkadiusz Miƛkiewicz Date: Mon, 3 Nov 2003 09:27:03 +0000 (+0000) Subject: - wrr has now similar bcond as there is for efsq already X-Git-Tag: auto/ac/iproute2-2_4_7_ss020116-13#2_4_21_1_6~7 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fiproute2.git;a=commitdiff_plain;h=4d82ce300e4e760886445920c373778792144edc - wrr has now similar bcond as there is for efsq already Changed files: iproute2.spec -> 1.93 --- diff --git a/iproute2.spec b/iproute2.spec index e28a213..458a305 100644 --- a/iproute2.spec +++ b/iproute2.spec @@ -3,7 +3,8 @@ # _without_tetex - don't build documentation # _without_tc - don't build tc program (it breaks static linkage) # _without_tc_esfq - build tc without esfq support (requires patched headers) -# +# _without_tc_wrr - build tc without wrr support + %define _kernel24 %(echo %{_kernel_ver} | grep -q '2\.[012]\.' ; echo $?) %define mainver 2.4.7 @@ -107,7 +108,7 @@ a przestrzeni %build WRRDEF="" -grep -q tc_wrr_class_weight %{_kernelsrcdir}/include/linux/pkt_sched.h || WRRDEF="-DNEED_WRR_DEFS" +%{!?_without_tc_wrr:WRRDEF="-DNEED_WRR_DEFS"} %{__make} \ CC="%{__cc}" \