From: Sajjad Lateef Date: Tue, 17 May 2011 02:16:51 +0000 (-0700) Subject: xenserver: remove unneeded macro definitions X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3476e0baaaddb7a25237297d1811a28ba11c21e6;p=openvswitch xenserver: remove unneeded macro definitions The macro binsuffix is no longer needed. It has been replaced with kernel_flavor that is passed on the command line. The macro kernel_version is passed on the command line. Redefining the macro inside the spec file leads to build failures. Signed-off-by: Sajjad Lateef --- diff --git a/xenserver/openvswitch-xen.spec b/xenserver/openvswitch-xen.spec index 821b2896..4b3019d5 100644 --- a/xenserver/openvswitch-xen.spec +++ b/xenserver/openvswitch-xen.spec @@ -24,10 +24,6 @@ # bump this when breaking compatibility with userspace %define module_abi_version 0 -# extract kernel type (xen or kdump) -%define binsuffix -%(echo '%{xen_version}' | sed -r 's/^.*[0-9]+//') -# kernel version string w/o kernel type -%define kernel_version %(echo '%{xen_version}' | sed -r 's/[a-z]+$//') # build-supplemental-pack.sh requires this naming for kernel module packages %define module_package modules-%{kernel_flavor}-%{kernel_version}