From: Ben Pfaff Date: Fri, 5 Jun 2009 19:24:58 +0000 (-0700) Subject: xenserver: Allow RPM to install only with correct Xen kernel version. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8319dd499fddf187406bd570c1eb895955309cb;p=openvswitch xenserver: Allow RPM to install only with correct Xen kernel version. Bug #638. --- diff --git a/xenserver/vswitch-xen.spec b/xenserver/vswitch-xen.spec index 48976690..a9933d9b 100644 --- a/xenserver/vswitch-xen.spec +++ b/xenserver/vswitch-xen.spec @@ -25,6 +25,7 @@ License: GPL3 Release: 1 Source: openvswitch-%{vswitch_version}.tar.gz Buildroot: /tmp/vswitch-xen-rpm +Requires: kernel-xen = %(echo '%{xen_version}' | sed 's/xen$//') %description The vswitch provides standard network bridging functions augmented with