Exclude .la files on RHEL.
This commit is contained in:
parent
73854597a7
commit
2fdeffa20d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user