]> git.pld-linux.org Git - packages/iproute2.git/commitdiff
- wrr has now similar bcond as there is for efsq already
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 3 Nov 2003 09:27:03 +0000 (09:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    iproute2.spec -> 1.93

iproute2.spec

index e28a213f0fff4877314d5d37d72c163aa9af8c0b..458a305682c8ce42aba68298a854ce218e2128f1 100644 (file)
@@ -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}" \
This page took 0.043052 seconds and 4 git commands to generate.