- Re-add dependency of llvm-devel on llvm-polly-devel. (Again for CMake.)

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=16
This commit is contained in:
Aaron Puchert 2022-04-04 01:02:52 +00:00 committed by Git OBS Bridge
parent 1cf5b962af
commit 359a8abca9
2 changed files with 6 additions and 2 deletions

View File

@ -19,8 +19,7 @@ Sun Apr 3 13:42:27 UTC 2022 - Aaron Puchert <aaronpuchert@alice-dsl.net>
library dependencies to the *-devel packages.
- Merge llvm-LTO-devel into llvm-devel. That's where the header
files already are, and they are hard to separate.
- Let llvm-devel no longer depend on llvm-polly-devel but let
llvm-polly-devel depend on llvm-devel. We got that wrong.
- Let llvm-polly-devel depend on llvm-devel.
- Remove libLTO from baselibs, it doesn't seem to be needed.
- Only suggest documentation packages.

View File

@ -194,6 +194,7 @@ Summary: Header Files for LLVM
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
%if %{with openmp}
# Referenced by LLVMExports.cmake
Requires: libomp%{_sonum}-devel
%endif
Requires: libLLVM%{_sonum} = %{version}
@ -201,6 +202,10 @@ Requires: libLTO%{_sonum} = %{version}
Requires: libstdc++-devel
Requires: libtool
Requires: llvm%{_sonum}-gold
%if %{with polly}
# Referenced by LLVMExports.cmake
Requires: llvm%{_sonum}-polly-devel
%endif
Requires: pkgconfig
Conflicts: llvm-devel-provider < %{version}
%if %{suse_version} <= 1500