From 2fdeffa20d8d7508f1c71a55bdb9a1568c7c11cd Mon Sep 17 00:00:00 2001 From: Bojan Smojver Date: Sun, 7 May 2023 20:55:04 +1000 Subject: [PATCH] Exclude .la files on RHEL. --- xrdp.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xrdp.spec b/xrdp.spec index faa0308..5049125 100644 --- a/xrdp.spec +++ b/xrdp.spec @@ -17,7 +17,7 @@ Summary: Open source remote desktop protocol (RDP) server Name: xrdp Epoch: 1 Version: 0.9.22 -Release: 1%{?dist} +Release: 2%{?dist} License: ASL 2.0 and GPLv2+ and MIT URL: http://www.xrdp.org/ Source0: https://github.com/neutrinolabs/xrdp/releases/download/v%{version}/xrdp-%{version}.tar.gz @@ -263,6 +263,10 @@ fi %exclude %{_libdir}/pkgconfig/libpainter.pc %exclude %{_libdir}/*.a %exclude %{_libdir}/xrdp/*.a +%if 0%{?rhel} +%exclude %{_libdir}/*.la +%exclude %{_libdir}/xrdp/*.la +%endif %ghost %{_localstatedir}/log/xrdp.log %ghost %{_localstatedir}/log/xrdp-sesman.log