diff --git a/freerdp.spec b/freerdp.spec index 56a8180..37ec003 100644 --- a/freerdp.spec +++ b/freerdp.spec @@ -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 - 2:2.4.1-2 +- Add ldconfig config file to fix freerdp-proxy dynamic library dependency + * Tue Nov 2 2021 yaoxin - 2:2.4.1-1 - Upgrade freerdp to 2.4.1 for fix CVE-2021-41159, CVE-2021-41160