!27 Add ldconfig config file to fix freerdp-proxy dynamic library dependency
From: @ultra_planet Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
e2e31b2c0e
@ -1,6 +1,6 @@
|
||||
Name: freerdp
|
||||
Version: 2.4.1
|
||||
Release: 1
|
||||
Release: 2
|
||||
Epoch: 2
|
||||
Summary: A Remote Desktop Protocol Implementation
|
||||
License: Apache-2.0
|
||||
@ -94,6 +94,9 @@ cd winpr/tools/makecert-cli
|
||||
|
||||
find %{buildroot} -name "*.a" -delete
|
||||
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
|
||||
echo "%{_libdir}/freerdp2" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
|
||||
@ -110,6 +113,7 @@ find %{buildroot} -name "*.a" -delete
|
||||
%{_libdir}/freerdp2/
|
||||
%{_bindir}/{winpr-hash,winpr-makecert,wlfreerdp,xfreerdp,freerdp-shadow-cli,freerdp-proxy}
|
||||
%{_libdir}/{libfreerdp*,libuwac0}.so.*
|
||||
%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
|
||||
%files devel
|
||||
%{_includedir}/{freerdp2,uwac0}
|
||||
@ -133,6 +137,9 @@ find %{buildroot} -name "*.a" -delete
|
||||
%{_mandir}/*/*
|
||||
|
||||
%changelog
|
||||
* Mon Nov 08 2021 lingsheng <lingsheng@huawei.com> - 2:2.4.1-2
|
||||
- Add ldconfig config file to fix freerdp-proxy dynamic library dependency
|
||||
|
||||
* Tue Nov 2 2021 yaoxin <yaoxin30@huawei.com> - 2:2.4.1-1
|
||||
- Upgrade freerdp to 2.4.1 for fix CVE-2021-41159, CVE-2021-41160
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user