From 3ce0b9ccd817b5d1f1071e055d7c7c6a20853767 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Tue, 14 Aug 2012 09:50:03 +0200 Subject: [PATCH] Apply clang patches only when clang is being built --- llvm.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/llvm.spec b/llvm.spec index a07cc8e..97a9508 100644 --- a/llvm.spec +++ b/llvm.spec @@ -36,7 +36,7 @@ ExcludeArch: s390 s390x ppc ppc64 Name: llvm Version: 3.1 -Release: 8%{?dist} +Release: 9%{?dist} Summary: The Low Level Virtual Machine Group: Development/Languages @@ -263,11 +263,13 @@ mv clang-%{version}%{?prerel}.src tools/clang %patch601 -p1 -b .r601 # clang patches +%if %{with clang} pushd tools/clang %patch610 -p1 -b .r610 %patch611 -p1 -b .r611 %patch612 -p1 -b .r612 popd +%endif %patch700 -p0 -b .ghc @@ -554,6 +556,9 @@ exit 0 %endif %changelog +* Tue Aug 14 2012 Dan HorĂ¡k - 3.1-9 +- Apply clang patches only when clang is being built + * Thu Jul 19 2012 Fedora Release Engineering - 3.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild