rpm spec file fix
Sapan Bhatia [Mon, 30 Jan 2012 17:38:14 +0000 (12:38 -0500)]
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;}'`