mirror of
https://abf.rosa.ru/djam/llvm12.git
synced 2025-02-23 15:22:50 +00:00
Fix missing dependency due to offed AutoReq
This commit is contained in:
parent
b71cbaa7a0
commit
931803b0fb
1 changed files with 9 additions and 1 deletions
10
llvm11.spec
10
llvm11.spec
|
@ -28,7 +28,7 @@ Summary: LLVM and Clang in %{_prefix}
|
|||
# llvm11
|
||||
Name: llvm%{maj_ver}
|
||||
Version: %{maj_ver}.0.1
|
||||
Release: 2
|
||||
Release: 3
|
||||
License: NCSA
|
||||
Group: Development/Other
|
||||
Url: http://llvm.org
|
||||
|
@ -65,6 +65,14 @@ Requires: libstdc++-devel
|
|||
# ! Nothing must be linked with libllvm etc. from here!
|
||||
AutoReq: 0
|
||||
AutoProv: 0
|
||||
# Require this manually instead of AutoReq
|
||||
%if %rpm4
|
||||
Requires: %(patchelf --print-soname /usr/%{_lib}/libffi.so)%{_arch_tag_suffix}
|
||||
%else
|
||||
# _arch_tag_suffix in needed form does not exist in rpm5, make a more dirty hack
|
||||
Requires: %mklibname ffi %(patchelf --print-soname /usr/%{_lib}/libffi.so | awk -F '.' '{print $NF}' || echo 0)
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
LVM is a robust system, particularly well suited for developing new mid-level
|
||||
|
|
Loading…
Add table
Reference in a new issue