BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
#Requires:
+Source0: openvswitch-%{version}.tar.gz
%description
Openvswitch - virtual switches on PlanetLab
%prep
%setup
wget %{upstream}
-tar xvfz openvswitch-%{version}.tar.gz
-cd openvswitch-%{version}
+tar xvfz openvswitch-%{version}.tar.gz --strip=1
%build
KVER=`ls -l /usr/src/kernels | awk '{printf $9;}'`