fix build: update SOURCE0 consists of name and version macro 2.0alpha master 2.0_alpha
authorChengwei Yang <chengwei.yang@intel.com>
Thu, 7 Jun 2012 07:17:49 +0000 (15:17 +0800)
committerChengwei Yang <chengwei.yang@intel.com>
Thu, 7 Jun 2012 07:17:49 +0000 (15:17 +0800)
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
packaging/xorg-x11-drv-synaptics.spec

index 4da0ec5..adf7c53 100644 (file)
@@ -8,7 +8,7 @@ Release:    1
 Group:      System/X Hardware Support
 License:    MIT
 URL:        http://www.x.org
-Source0:    http://xorg.freedesktop.org/releases/individual/driver/xf86-input-synaptics-%{version}.tar.bz2
+Source0:    %{name}-%{version}.tar.bz2
 Source1:    66-xorg-synaptics.rules
 Source2:    51-synaptics-quirks.conf
 Source1001: packaging/xorg-x11-drv-synaptics.manifest 
@@ -40,7 +40,7 @@ Development libraries and header files for  %{name}
 
 
 %prep
-%setup -q -n xf86-input-synaptics-%{version}
+%setup -q
 
 # TimeBackwardSetting.patch
 # >> gbp-apply-patches    # auto-added by gbp