X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=rhel%2Fopenvswitch-kmod-rhel6.spec.in;h=1d1955d6d7539148503708dbaa8246d58f73b9fc;hb=84095d268f41efd2754fb920b9e93b665f7b64ba;hp=5aa92bdc55624262028ae8b4aba9720e8ce5a862;hpb=c434706a374bd44d1274e7bdbee40067a6620b61;p=openvswitch diff --git a/rhel/openvswitch-kmod-rhel6.spec.in b/rhel/openvswitch-kmod-rhel6.spec.in index 5aa92bdc..1d1955d6 100644 --- a/rhel/openvswitch-kmod-rhel6.spec.in +++ b/rhel/openvswitch-kmod-rhel6.spec.in @@ -40,8 +40,8 @@ Open vSwitch Linux kernel module. %build for flavor in %flavors_to_build; do mkdir _$flavor - (cd _$flavor && ../configure --with-l26="%{kernel_source $flavor}") - %{__make} -C _$flavor/datapath/linux-2.6 %{?_smp_mflags} + (cd _$flavor && ../configure --with-linux="%{kernel_source $flavor}") + %{__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