From 2c55a755850a98a807d8c17d52e43f0febc554ab Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Sep 07 2009 14:11:08 +0000 Subject: Only fix permissions on real files, not symlinks --- diff --git a/llvm.spec b/llvm.spec index 319afe9..443d062 100644 --- a/llvm.spec +++ b/llvm.spec @@ -198,7 +198,7 @@ rm %{buildroot}%{_bindir}/gcc{as,ld} sed -i 's,ABS_RUN_DIR/lib",ABS_RUN_DIR/%{_lib}/%{name}",' \ %{buildroot}%{_bindir}/llvm-config -chmod -x %{buildroot}%{_libdir}/*/*.a +chmod -x %{buildroot}%{_libdir}/%{name}/*.a # remove documentation makefiles: # they require the build directory to work