rpm spec file fix
[openvswitch.git] / openvswitch.spec
index 6527ab4..a7faab0 100644 (file)
@@ -22,14 +22,14 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
 #Requires: 
 BuildRequires: kernel-devel
 
-Source0: openvswitch-sources.tar.gz
+Source0: openvswitch-%{version}.tar.gz
 
 %description
 Openvswitch - virtual switches on PlanetLab
 
 %prep
 %setup
-tar xvfz openvswitch-sources.tar.gz --strip=1
+tar xvfz openvswitch-%{version}.tar.gz --strip=1
 
 %build
 KVER=`ls -l /usr/src/kernels | awk '{printf $9;}'`