Use patch -p1 instead of patch -p0 for gcc patches.

This commit is contained in:
Ralf Corsepius
2010-03-21 06:20:37 +00:00
parent 7610f3e449
commit 7234118388
+6 -2
View File
@@ -2,11 +2,15 @@
%setup -c -T -n %{name}-%{version}
%setup -q -T -D -n %{name}-%{version} -a0
%{?PATCH0:%patch0 -p0}
cd gcc-%{gcc_pkgvers}
%{?PATCH0:%patch0 -p1}
cd ..
%if %build_cxx
%setup -q -T -D -n %{name}-%{version} -a1
%{?PATCH1:%patch1 -p0}
cd gcc-%{gcc_pkgvers}
%{?PATCH1:%patch1 -p1}
cd ..
%endif
%if %build_fortran