Ismail Dönmez 2011-06-01 21:01:24 +00:00 committed by Git OBS Bridge
parent 9d08f1c43c
commit 979b3a1467

View File

@ -242,7 +242,10 @@ for i in docs/CommandGuide/*.pod tools/clang/docs/tools/*.pod; do
done
# Remove gtest library
rm -f %{buildroot}%{_libdir}/libgtest.*
rm -f %{buildroot}%{_libdir}/*gtest*
# Wrong lib name + static
rm -f %{buildroot}%{_libdir}/liblibclang.a
%fdupes -s %{buildroot}%{_docdir}/%{name}
%fdupes -s %{buildroot}%{_docdir}/%{name}-doc
@ -320,6 +323,8 @@ rm -f %{buildroot}%{_libdir}/libgtest.*
%{_includedir}/clang
%{_includedir}/clang-c
%{_libdir}/libclang*
%{_libdir}/libLTO.*
%{_libdir}/*profile_rt*
%files devel
%defattr(-,root,root,-)
@ -333,8 +338,6 @@ rm -f %{buildroot}%{_libdir}/libgtest.*
%{_libdir}/LLVMHello.so
%{_libdir}/libCompilerDriver.a
%{_libdir}/libEnhancedDisassembly.*
%{_libdir}/libLTO.*
%{_libdir}/*profile_rt*
%files doc
%defattr(-,root,root,-)