mirror of
https://abf.rosa.ru/djam/llvm12.git
synced 2025-02-23 15:22:50 +00:00
Fix rpm4 req
patchelf: getting info about '/usr/lib64/libffi.so': No such file or directory error: line 70: Empty rich dependency: Requires: ()(64bit)
This commit is contained in:
parent
931803b0fb
commit
cc907b6cd4
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ AutoReq: 0
|
|||
AutoProv: 0
|
||||
# Require this manually instead of AutoReq
|
||||
%if %rpm4
|
||||
Requires: %(patchelf --print-soname /usr/%{_lib}/libffi.so)%{_arch_tag_suffix}
|
||||
Requires: %(patchelf --print-soname /usr/%{_lib}/libffi.so || echo foo)%{_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)
|
||||
|
|
Loading…
Add table
Reference in a new issue