%define snapshot_date %(echo %version | sed 's/[34]\.[0-9]\.[0-6]//' | sed 's/_/-/')
%define binsuffix -4.8
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source: gcc-%{gcc_version}%{snapshot_date}.tar.bz2
+Source: gcc-%{version}.tar.bz2
Source1: change_spec
Source3: gcc48-rpmlintrc
Source4: ecj.jar
%prep
-%setup -q -n gcc-%{gcc_version}%{snapshot_date}
+%setup -q -n gcc-%{version}
# We are configuring ppc as ppc64 but with switched multilibs. Adjust
--build=%{GCCDIST}
-make %{?jobs:-j%jobs} all-gcc TARGET-gcc="cc1 cc1plus gcc-cross g++ native"
+make %{?jobs:-j%jobs} all-gcc TARGET-gcc="cc1 cc1plus gcc-cross xg++ native"
%install
cd obj-%{GCCDIST}