aboutsummaryrefslogtreecommitdiff
path: root/rhel/openvswitch-kmod-rhel6.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'rhel/openvswitch-kmod-rhel6.spec.in')
-rw-r--r--rhel/openvswitch-kmod-rhel6.spec.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/rhel/openvswitch-kmod-rhel6.spec.in b/rhel/openvswitch-kmod-rhel6.spec.in
index 8f9b2efc..1d1955d6 100644
--- a/rhel/openvswitch-kmod-rhel6.spec.in
+++ b/rhel/openvswitch-kmod-rhel6.spec.in
@@ -41,7 +41,7 @@ Open vSwitch Linux kernel module.
for flavor in %flavors_to_build; do
mkdir _$flavor
(cd _$flavor && ../configure --with-linux="%{kernel_source $flavor}")
- %{__make} -C _$flavor/datapath/linux-2.6 %{?_smp_mflags}
+ %{__make} -C _$flavor/datapath/linux %{?_smp_mflags}
done
%install
@@ -49,7 +49,7 @@ export INSTALL_MOD_PATH=$RPM_BUILD_ROOT
export INSTALL_MOD_DIR=extra/%{name}
for flavor in %flavors_to_build ; do
make -C %{kernel_source $flavor} modules_install \
- M=$PWD/_$flavor/datapath/linux-2.6
+ M=$PWD/_$flavor/datapath/linux
done
%clean