diff --git a/haproxy.changes b/haproxy.changes index 8c8ba3c..6088230 100644 --- a/haproxy.changes +++ b/haproxy.changes @@ -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 diff --git a/haproxy.spec b/haproxy.spec index 824323b..87214c6 100644 --- a/haproxy.spec +++ b/haproxy.spec @@ -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}"