Add ldconfig config file to fix freerdp-proxy dynamic library dependency
This commit is contained in:
parent
c0ac7c386a
commit
13f53e4571
@ -1,6 +1,6 @@
|
|||||||
Name: freerdp
|
Name: freerdp
|
||||||
Version: 2.4.1
|
Version: 2.4.1
|
||||||
Release: 1
|
Release: 2
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
Summary: A Remote Desktop Protocol Implementation
|
Summary: A Remote Desktop Protocol Implementation
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@ -94,6 +94,9 @@ cd winpr/tools/makecert-cli
|
|||||||
|
|
||||||
find %{buildroot} -name "*.a" -delete
|
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
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
|
||||||
@ -110,6 +113,7 @@ find %{buildroot} -name "*.a" -delete
|
|||||||
%{_libdir}/freerdp2/
|
%{_libdir}/freerdp2/
|
||||||
%{_bindir}/{winpr-hash,winpr-makecert,wlfreerdp,xfreerdp,freerdp-shadow-cli,freerdp-proxy}
|
%{_bindir}/{winpr-hash,winpr-makecert,wlfreerdp,xfreerdp,freerdp-shadow-cli,freerdp-proxy}
|
||||||
%{_libdir}/{libfreerdp*,libuwac0}.so.*
|
%{_libdir}/{libfreerdp*,libuwac0}.so.*
|
||||||
|
%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/{freerdp2,uwac0}
|
%{_includedir}/{freerdp2,uwac0}
|
||||||
@ -133,6 +137,9 @@ find %{buildroot} -name "*.a" -delete
|
|||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Upgrade freerdp to 2.4.1 for fix CVE-2021-41159, CVE-2021-41160
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user