Ismail Dönmez 2012-03-21 16:39:54 +00:00 committed by Git OBS Bridge
parent b1c5f830c7
commit fbdc1e32e6

View File

@ -213,6 +213,10 @@ cd ..
sed -i s,ABS_RUN_DIR/lib,ABS_RUN_DIR/lib64, %{buildroot}/%{_bindir}/llvm-config
%endif
# Docs
mv %{buildroot}/usr/docs/llvm/html %{buildroot}/usr/share/doc/packages/llvm-doc/
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
@ -377,8 +381,6 @@ rm -f %{buildroot}%{_libdir}/libEnhancedDisassembly.*
%files devel
%defattr(-,root,root,-)
%{_bindir}/%{name}-config
%dir %{_datadir}/llvm/
%{_datadir}/llvm/*
%doc %{_mandir}/man1/%{name}-config.1%{ext_man}
%{_includedir}/%{name}/
%{_includedir}/%{name}-c/