[llvm] - Re-add omitted %{_includedir}

Michel Alexandre Salim salimma at fedoraproject.org
Thu Oct 14 23:02:29 UTC 2010


commit 3107968a59701bb907f0f31b415bffd894770e41
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date:   Fri Oct 15 01:02:11 2010 +0200

    - Re-add omitted %{_includedir}

 llvm.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/llvm.spec b/llvm.spec
index 68e74e1..d836736 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -12,7 +12,7 @@
 
 Name:           llvm
 Version:        2.8
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        The Low Level Virtual Machine
 
 Group:          Development/Languages
@@ -212,8 +212,8 @@ mv clang-%{version} tools/clang
   --enable-debug-runtime \
   --enable-jit \
   --enable-shared \
-  --with-c-include-dirs=$(echo /usr/lib/gcc/*/*/include) \
-  --with-cxx-include-root=$(echo /usr/include/c++/*) \
+  --with-c-include-dirs=%{_includedir}:$(echo %{_prefix}/lib/gcc/*/*/include) \
+  --with-cxx-include-root=$(echo %{_includedir}/c++/*) \
   --with-cxx-include-arch=%{_arch}-%{_vendor}-%{_os}
 
 # FIXME file this
@@ -383,6 +383,9 @@ find examples -name 'Makefile' | xargs -0r rm -f
 
 
 %changelog
+* Fri Oct 15 2010 Michel Salim <salimma at fedoraproject.org> - 2.8-3
+- Re-add omitted %%{_includedir}
+
 * Thu Oct 14 2010 Michel Salim <salimma at fedoraproject.org> - 2.8-2
 - Add correct C include directory at compile time (# 641500)
 


More information about the scm-commits mailing list