forked from pool/haproxy
- only use network namespace support on distros newer than 13.2
OBS-URL: https://build.opensuse.org/package/show/server:http/haproxy?expand=0&rev=118
This commit is contained in:
parent
3d2a7368d4
commit
76bbbc310e
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 15 23:19:33 UTC 2015 - mrueckert@suse.de
|
||||||
|
|
||||||
|
- only use network namespace support on distros newer than 13.2
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 13 19:39:12 UTC 2015 - mrueckert@suse.de
|
Tue Oct 13 19:39:12 UTC 2015 - mrueckert@suse.de
|
||||||
|
|
||||||
|
@ -21,8 +21,10 @@
|
|||||||
|
|
||||||
%if 0%{?suse_version} > 1320
|
%if 0%{?suse_version} > 1320
|
||||||
%bcond_without lua
|
%bcond_without lua
|
||||||
|
%bcond_without network_namespace
|
||||||
%else
|
%else
|
||||||
%bcond_with lua
|
%bcond_with lua
|
||||||
|
%bcond_with network_namespace
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?suse_version} >= 1310
|
%if 0%{?suse_version} >= 1310
|
||||||
@ -135,7 +137,9 @@ the most work done from every CPU cycle.
|
|||||||
%if %{with tcp_fast_open}
|
%if %{with tcp_fast_open}
|
||||||
USE_TFO=1 \
|
USE_TFO=1 \
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with network_namespace}
|
||||||
USE_NS=1 \
|
USE_NS=1 \
|
||||||
|
%endif
|
||||||
LIB="%{_lib}" \
|
LIB="%{_lib}" \
|
||||||
PREFIX="%{_prefix}" \
|
PREFIX="%{_prefix}" \
|
||||||
DEBUG_CFLAGS="%{optflags}"
|
DEBUG_CFLAGS="%{optflags}"
|
||||||
|
Loading…
Reference in New Issue
Block a user