From: Jakub Bogusz Date: Tue, 12 Aug 2003 19:31:17 +0000 (+0000) Subject: - cosmetics, _without_tc_esfq bcond X-Git-Tag: auto/ac/iproute2-2_4_7_ss020116-11#_~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fiproute2.git;a=commitdiff_plain;h=4d4e875300832d5a44a55417b336002b796a371d - cosmetics, _without_tc_esfq bcond Changed files: iproute2.spec -> 1.86 --- diff --git a/iproute2.spec b/iproute2.spec index f16841d..76ab9ef 100644 --- a/iproute2.spec +++ b/iproute2.spec @@ -1,8 +1,9 @@ -# conditional build -# --without tetex # with tetex-2 there shuld be BR tetex-tex-babel -# --without tc (don't build tc program, it break static linkage) -# --without dist_kernel - +# +# Conditional build +# _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) +# %define _kernel24 %(echo %{_kernel_ver} | grep -q '2\.[012]\.' ; echo $?) %define mainver 2.4.7 %define snapshot ss020116 @@ -93,7 +94,7 @@ a przestrzeni %endif %patch6 -p1 %patch8 -p1 -%patch9 -p1 +%{!?_without_tc_esfq:%patch9 -p1} %build WRRDEF="" @@ -125,8 +126,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc README README.iproute2+tc RELNOTES -%{!?_without_tetex:%doc doc/*.ps} +%doc README README.iproute2+tc RELNOTES %{!?_without_tetex:doc/*.ps} %attr(755,root,root) %{_sbindir}/* %dir %{_sysconfdir} %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/*