From: Marcin Krol Date: Wed, 26 Nov 2014 20:42:35 +0000 (+0000) Subject: - missing pam.d symlink + rm sesman.ini before install to be sure X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=beb5c301567f67f96633c8c5a67340c3b57bbf0f;p=packages%2Fxrdp.git - missing pam.d symlink + rm sesman.ini before install to be sure we get correct version packaged --- diff --git a/xrdp.spec b/xrdp.spec index f665ad2..5ed0c3c 100644 --- a/xrdp.spec +++ b/xrdp.spec @@ -82,6 +82,9 @@ install -d $RPM_BUILD_ROOT%{_sysconfdir}/{%{name},pam.d,rc.d/init.d} install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/xrdp install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/sesman +%{__rm} -f $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/xrdp-sesman +%{__ln} -s sesman $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/xrdp-sesman +%{__rm} -f $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/sesman.ini install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/sesman.ini %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/lib*.{a,la,so} @@ -109,6 +112,7 @@ rm -rf $RPM_BUILD_ROOT %doc README.TLD %doc README.TLD.pl %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/sesman +%attr(640,root,root) /etc/pam.d/xrdp-sesman %attr(754,root,root) /etc/rc.d/init.d/xrdp %dir %{_sysconfdir}/%{name} %config(noreplace) %{_sysconfdir}/%{name}/xrdp.ini