xenserver: Fix build spec for XenServer 6.5.
authorEdwin Chiu <echiu@vmware.com>
Tue, 10 Mar 2015 18:36:43 +0000 (11:36 -0700)
committerAlex Wang <alexw@nicira.com>
Tue, 10 Mar 2015 22:36:06 +0000 (15:36 -0700)
commit5748c7e9a51748c93bfc511662462be415664a8b
tree6b6cc53514dd4af70b92d6cd384333d4a4a5b787
parent973edd6eafb05d7a27c99b6efb7e410e96d8cb96
xenserver: Fix build spec for XenServer 6.5.

The latest XenServer 6.5 uses a new way for kernel version naming.
Therein, the kernel flavor could not be found anymore.  Also, the
directory name in 'lib/modules/' becomes a shortened version of
kernel version. e.g.:

[root@localhost ~]# ls /lib/modules/
3.10.0+2

As a workaround, this commit modifies the spec file to make
%{kernel_flavor} optional and %{xen_version} definable by users.
In the long run, I'd like to spend time refining the spec file.

Signed-off-by: Edwin Chiu <echiu@vmware.com>
Signed-off-by: Alex Wang <alexw@nicira.com>
AUTHORS
INSTALL.XenServer.md
xenserver/openvswitch-xen.spec.in