add packaging
authorAnas Nashif <anas.nashif@intel.com>
Sat, 17 Nov 2012 19:50:50 +0000 (11:50 -0800)
committerJunfeng Dong <junfeng.dong@intel.com>
Mon, 18 Nov 2013 06:04:39 +0000 (14:04 +0800)
packaging/gcc.spec.in

index 0fd00d3..d1e879a 100644 (file)
@@ -151,7 +151,9 @@ Requires: libgomp@base_ver@ = %{version}-%{release}
 
 # COMMON-BEGIN
 BuildRoot:     %{_tmppath}/%{name}-%{version}-build
-Source:                gcc-%{gcc_version}%{snapshot_date}.tar.bz2
+#Source:               gcc-%{gcc_version}%{snapshot_date}.tar.bz2
+Source:     gcc-%{version}.tar.bz2
+
 Source1:       change_spec
 Source2:       libgcj47-rpmlintrc
 Source3:       gcc47-rpmlintrc
@@ -836,7 +838,8 @@ Results from running the gcc and target library testsuites.
 # COMMON-BEGIN
 
 %prep
-%setup -q -n gcc-%{gcc_version}%{snapshot_date}
+#%setup -q -n gcc-%{gcc_version}%{snapshot_date}
+%setup -q -n gcc-%{version}
 # 0001-dir-version.patch
 %patch0 -p1