- 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:
Marcus Rückert 2015-10-15 23:25:07 +00:00 committed by Git OBS Bridge
parent 3d2a7368d4
commit 76bbbc310e
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -21,8 +21,10 @@
%if 0%{?suse_version} > 1320
%bcond_without lua
%bcond_without network_namespace
%else
%bcond_with lua
%bcond_with network_namespace
%endif
%if 0%{?suse_version} >= 1310
@ -135,7 +137,9 @@ the most work done from every CPU cycle.
%if %{with tcp_fast_open}
USE_TFO=1 \
%endif
%if %{with network_namespace}
USE_NS=1 \
%endif
LIB="%{_lib}" \
PREFIX="%{_prefix}" \
DEBUG_CFLAGS="%{optflags}"