diff --git a/llvm.spec b/llvm.spec index 0c41feb..9a5f5b0 100644 --- a/llvm.spec +++ b/llvm.spec @@ -109,7 +109,8 @@ This package contains the clang (C language) frontend for LLVM. Summary: CLANG frontend for LLVM (devel package) Group: Development/Languages/Other -Requires: %{name} = %{version} +Requires: llvm-devel = %{version} +Requires: clang = %{version} %{py_requires} %description clang-devel @@ -269,9 +270,13 @@ rm -f %{buildroot}%{_libdir}/libEnhancedDisassembly.* %fdupes -s %{buildroot}%{_docdir}/%{name} %fdupes -s %{buildroot}%{_docdir}/%{name}-doc -%post -n llvm-clang-devel -p /sbin/ldconfig +%post clang -p /sbin/ldconfig -%postun -n llvm-clang-devel -p /sbin/ldconfig +%postun clang -p /sbin/ldconfig + +%post clang-devel -p /sbin/ldconfig + +%postun clang-devel -p /sbin/ldconfig %files %defattr(-,root,root) @@ -309,6 +314,8 @@ rm -f %{buildroot}%{_libdir}/libEnhancedDisassembly.* %{py_sitedir}/Resources %{_datadir}/clang %{_mandir}/man1/clang.1.gz +%{_libdir}/libclang.so.* +%{_libdir}/libLTO.so %dir %{_libdir}/clang %dir %{_libdir}/clang/* %dir %{_libdir}/clang/*/include @@ -342,8 +349,9 @@ rm -f %{buildroot}%{_libdir}/libEnhancedDisassembly.* %defattr(-,root,root) %{_includedir}/clang %{_includedir}/clang-c -%{_libdir}/libclang* -%{_libdir}/libLTO.* +%{_libdir}/libclang.so +%{_libdir}/libLTO.a +%{_libdir}/libclang*.a %{_libdir}/*profile_rt* %files devel