Allow a build set to provide the source0 path.

This commit is contained in:
Chris Johns 2013-03-15 15:28:11 +11:00
parent aa4f8f66e0
commit e39d5e20ab

View File

@ -32,8 +32,10 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
#
# GCC core and G++
#
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-%{gcc_version}.tar.bz2
VersionContro0: git clone git://gcc.gnu.org/git/gcc.git
%ifn %{defined Source0}
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-%{gcc_version}.tar.bz2
VersionContro0: git clone git://gcc.gnu.org/git/gcc.git
%endif
#
# Newlib