Fix k32 build - hopefully
[openvswitch.git] / openvswitch.spec
index ce825c0..8aa41f6 100644 (file)
@@ -20,6 +20,7 @@ License: GPL
 Group: System Environment/Kernel
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
 #Requires: 
+BuildRequires: kernel-devel
 
 Source0: openvswitch-%{version}.tar.gz
 
@@ -30,7 +31,6 @@ Openvswitch - virtual switches on PlanetLab
 %setup
 wget %{upstream}
 tar xvfz openvswitch-%{version}.tar.gz --strip=1
-cd openvswitch-%{version}
 
 %build
 KVER=`ls -l /usr/src/kernels | awk '{printf $9;}'`