From 174601bd7078fd32b72e38e9c107ccd7163fa224881f477244eceeaa5d8b950d Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 23 Sep 2014 08:40:24 +0000 Subject: [PATCH] - disable shipped kmp module build for newer distros OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=66 --- openvswitch.changes | 5 +++++ openvswitch.spec | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/openvswitch.changes b/openvswitch.changes index 3b99389..d3c5685 100644 --- a/openvswitch.changes +++ b/openvswitch.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 23 08:40:15 UTC 2014 - dmueller@suse.com + +- disable shipped kmp module build for newer distros + ------------------------------------------------------------------- Mon Sep 22 07:11:35 UTC 2014 - dmueller@suse.com diff --git a/openvswitch.spec b/openvswitch.spec index 6dc9061..98bb047 100644 --- a/openvswitch.spec +++ b/openvswitch.spec @@ -18,9 +18,15 @@ # needssslcertforbuild +%if %suse_version > 1315 +# The shipped one does not build against newer kernel versions +%bcond_with kmp +%bcond_without kernel_kmp +%else %bcond_without kmp -# Don't build in-kernel module, the shipped one is more feature rich: %bcond_with kernel_kmp +%endif + # IpSec build disabled temporarily (need to upgrade ipsec-tools): %bcond_with ipsec # Disable GUI building by default (heavy Qt4 dependencies):