X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=xenserver%2Fopenvswitch-xen.spec.in;h=572d547febe8a3e44b48e848178649fd0b035c1f;hb=0d6fc641dce2da799d386879a3338617370f2a6c;hp=7ab5af8d6a4cc133aab5250195d31bda25b89fe5;hpb=7b0070063774b65fc881343e5dd74c4eb8eb0e50;p=sliver-openvswitch.git diff --git a/xenserver/openvswitch-xen.spec.in b/xenserver/openvswitch-xen.spec.in index 7ab5af8d6..572d547fe 100644 --- a/xenserver/openvswitch-xen.spec.in +++ b/xenserver/openvswitch-xen.spec.in @@ -8,15 +8,14 @@ # without warranty of any kind. # When building, the rpmbuild command line should define -# openvswitch_version, kernel_name, kernel_version, kernel_flavor, -# and build_number using -D arguments. +# openvswitch_version, kernel_name, kernel_version, and kernel_flavor +# using -D arguments. # for example: # # rpmbuild -D "openvswitch_version 1.1.0+build123" # -D "kernel_name NAME-xen" # -D "kernel_version 2.6.32.12-0.7.1.xs5.6.100.323.170596" # -D "kernel_flavor xen" -# -D "build_number --with-build-number=123" # -bb /usr/src/redhat/SPECS/openvswitch-xen.spec %if %{?openvswitch_version:0}%{!?openvswitch_version:1} @@ -49,7 +48,7 @@ License: ASL 2.0 Release: 1 Source: openvswitch-%{openvswitch_version}.tar.gz Buildroot: /tmp/openvswitch-xen-rpm -Requires: openvswitch_mod.ko.%{module_abi_version} +Requires: openvswitch.ko.%{module_abi_version} %description Open vSwitch provides standard network bridging functions augmented with @@ -60,7 +59,7 @@ traffic. Summary: Open vSwitch kernel module Group: System Environment/Kernel License: GPLv2 -Provides: %{name}-modules-%{kernel_flavor} = %{kernel_version}, openvswitch_mod.ko.%{module_abi_version} +Provides: %{name}-modules-%{kernel_flavor} = %{kernel_version}, openvswitch.ko.%{module_abi_version} Requires: kernel-%{kernel_name} = %{kernel_version} %description %{module_package} @@ -71,7 +70,7 @@ Open vSwitch Linux kernel module compiled against kernel version %setup -q -n openvswitch-%{openvswitch_version} %build -./configure --prefix=/usr --sysconfdir=/etc --localstatedir=%{_localstatedir} --with-linux=/lib/modules/%{xen_version}/build --enable-ssl %{?build_number} +./configure --prefix=/usr --sysconfdir=/etc --localstatedir=%{_localstatedir} --with-linux=/lib/modules/%{xen_version}/build --enable-ssl make %{_smp_mflags} %install @@ -186,6 +185,12 @@ case $md5sums in replace_files=$scripts printf "\nVerified host scripts from XenServer 6.0.0.\n" ;; + + c5f48246577a17cf1b971fb5ce4e920b,2e2c912f86f9c536c89adc34ff3c2b2b,28d3ff72d72bdec4f37d70699f5edb76,67e1d0af16fc1ddf10009c5c063ad2ba,f3feff30aa3b3f8b514664a96a8dc0ab) + keep_files= + replace_files=$scripts + printf "\nVerified host scripts from XenServer 5.6-SP2.\n" + ;; c5f48246577a17cf1b971fb5ce4e920b,2e2c912f86f9c536c89adc34ff3c2b2b,28d3ff72d72bdec4f37d70699f5edb76,67e1d0af16fc1ddf10009c5c063ad2ba,24bae6906d182ba47668174f8e480cc6) keep_files= @@ -448,5 +453,5 @@ exit 0 %exclude /usr/share/openvswitch/python/ovs/db/*.py[co] %files %{module_package} -/lib/modules/%{xen_version}/extra/openvswitch/openvswitch_mod.ko -%exclude /lib/modules/%{xen_version}/extra/openvswitch/brcompat_mod.ko +/lib/modules/%{xen_version}/extra/openvswitch/openvswitch.ko +%exclude /lib/modules/%{xen_version}/extra/openvswitch/brcompat.ko