Only fix permissions on real files, not symlinks

This commit is contained in:
Michel Alexandre Salim 2009-09-07 14:11:08 +00:00
parent c8c0f322f0
commit 2c55a75585

View File

@ -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