diff --git a/llvm.spec b/llvm.spec index 3e5b143..4997f00 100644 --- a/llvm.spec +++ b/llvm.spec @@ -241,6 +241,9 @@ for i in docs/CommandGuide/*.pod tools/clang/docs/tools/*.pod; do groff -Tps -man $i > %{buildroot}%{_mandir}/man1/$page.1; done +# Remove gtest library +rm -f %{buildroot}%{_libdir}/libgtest.* + %fdupes -s %{buildroot}%{_docdir}/%{name} %fdupes -s %{buildroot}%{_docdir}/%{name}-doc @@ -265,6 +268,7 @@ done %exclude %{_mandir}/man1/%{name}-config.1%{ext_man} %{_mandir}/man1/llvm*.1%{ext_man} %{_mandir}/man1/opt.1%{ext_man} +%{_mandir}/man1/FileCheck.1%{ext_man} %files clang %defattr(-,root,root) @@ -315,13 +319,22 @@ done %defattr(-,root,root) %{_includedir}/clang %{_includedir}/clang-c +%{_libdir}/libclang* %files devel %defattr(-,root,root,-) %{_bindir}/%{name}-config +%{_datadir}/llvm/cmake/* %doc %{_mandir}/man1/%{name}-config.1%{ext_man} %{_includedir}/%{name}/ %{_includedir}/%{name}-c/ +%{_libdir}/libLLVM* +%{_libdir}/BugpointPasses.so +%{_libdir}/LLVMHello.so +%{_libdir}/libCompilerDriver.a +%{_libdir}/libEnhancedDisassembly.* +%{_libdir}/libLTO.* +%{_libdir}/*profile_rt* %files doc %defattr(-,root,root,-)