Apply clang patches only when clang is being built

This commit is contained in:
Dan Horák 2012-08-14 09:50:03 +02:00
parent 3a31d79945
commit 3ce0b9ccd8

View File

@ -36,7 +36,7 @@ ExcludeArch: s390 s390x ppc ppc64
Name: llvm Name: llvm
Version: 3.1 Version: 3.1
Release: 8%{?dist} Release: 9%{?dist}
Summary: The Low Level Virtual Machine Summary: The Low Level Virtual Machine
Group: Development/Languages Group: Development/Languages
@ -263,11 +263,13 @@ mv clang-%{version}%{?prerel}.src tools/clang
%patch601 -p1 -b .r601 %patch601 -p1 -b .r601
# clang patches # clang patches
%if %{with clang}
pushd tools/clang pushd tools/clang
%patch610 -p1 -b .r610 %patch610 -p1 -b .r610
%patch611 -p1 -b .r611 %patch611 -p1 -b .r611
%patch612 -p1 -b .r612 %patch612 -p1 -b .r612
popd popd
%endif
%patch700 -p0 -b .ghc %patch700 -p0 -b .ghc
@ -554,6 +556,9 @@ exit 0
%endif %endif
%changelog %changelog
* Tue Aug 14 2012 Dan Horák <dan[at]danny.cz> - 3.1-9
- Apply clang patches only when clang is being built
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-8 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild