debugging
[openvswitch.git] / openvswitch.spec
index a05876d..c8ffd9c 100644 (file)
@@ -21,6 +21,7 @@ Group: System Environment/Kernel
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
 #Requires: 
 
+Source0: openvswitch-%{version}.tar.gz
 
 %description
 Openvswitch - virtual switches on PlanetLab
@@ -28,8 +29,7 @@ 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;}'`