diff --git a/llvm.spec b/llvm.spec index 955cc43..99a49d3 100644 --- a/llvm.spec +++ b/llvm.spec @@ -221,8 +221,8 @@ rm -rf %{buildroot}/usr/docs/ # cleanup file %{buildroot}/%{_bindir}/* | awk -F: '$2~/ELF/{print $1}' | xargs -r chrpath -d file %{buildroot}/%{_libdir}/%{name}/*.so | awk -F: '$2~/ELF/{print $1}' | xargs -r chrpath -d - find %{buildroot}%{_includedir}/clang -name '*.tmp' -exec rm {} + +chmod -x %{buildroot}/%{_libdir}/*.a for file in `find examples -type f`; do install -d %{buildroot}%{_docdir}/%{name}-doc/`dirname $file`