Exclude *.a and *.la from package instead of removing them
This commit is contained in:
parent
a8b78e203e
commit
91f91dc6ef
@ -54,10 +54,6 @@ echo '#!/bin/bash -l
|
|||||||
%{__rm} -rf %{buildroot}
|
%{__rm} -rf %{buildroot}
|
||||||
%{__make} install DESTDIR=%{buildroot}
|
%{__make} install DESTDIR=%{buildroot}
|
||||||
|
|
||||||
#remove .la and .a files
|
|
||||||
find %{buildroot} -name '*.a' -exec rm {} \;
|
|
||||||
find %{buildroot} -name '*.la' -exec rm {} \;
|
|
||||||
|
|
||||||
#install sesman pam config /etc/pam.d/xrdp-sesman
|
#install sesman pam config /etc/pam.d/xrdp-sesman
|
||||||
%{__install} -Dp -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/xrdp-sesman
|
%{__install} -Dp -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/xrdp-sesman
|
||||||
|
|
||||||
@ -154,6 +150,8 @@ fi
|
|||||||
%{_unitdir}/xrdp.service
|
%{_unitdir}/xrdp.service
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_libdir}/pkgconfig/xrdp.pc
|
%{_libdir}/pkgconfig/xrdp.pc
|
||||||
|
%exclude %{_libdir}/xrdp/*.a
|
||||||
|
%exclude %{_libdir}/xrdp/*.la
|
||||||
|
|
||||||
|
|
||||||
%ghost %{_localstatedir}/log/xrdp-sesman.log
|
%ghost %{_localstatedir}/log/xrdp-sesman.log
|
||||||
|
Loading…
Reference in New Issue
Block a user