From: Elan Ruusamäe Date: Wed, 2 May 2012 12:12:09 +0000 (+0000) Subject: - /usr/lib/sendmail should not be macroized X-Git-Tag: auto/th/ssmtp-2.64-5~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fssmtp.git;a=commitdiff_plain;h=c0dcd5c - /usr/lib/sendmail should not be macroized Changed files: ssmtp.spec -> 1.27 --- diff --git a/ssmtp.spec b/ssmtp.spec index 7d8c034..cdbf65f 100644 --- a/ssmtp.spec +++ b/ssmtp.spec @@ -87,13 +87,13 @@ rm -f missing %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man{5,8},%{_sysconfdir}/mail,%{_prefix}/lib} +install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man{5,8},%{_sysconfdir}/mail,/usr/lib} install ssmtp $RPM_BUILD_ROOT%{_sbindir}/ssmtp install ssmtp.8 $RPM_BUILD_ROOT%{_mandir}/man8/ssmtp.8 install ssmtp.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5/ssmtp.conf.5 install ssmtp.conf revaliases $RPM_BUILD_ROOT%{_sysconfdir}/mail -ln -sf %{_sbindir}/ssmtp $RPM_BUILD_ROOT%{_prefix}/lib/sendmail +ln -sf %{_sbindir}/ssmtp $RPM_BUILD_ROOT/usr/lib/sendmail ln -sf ssmtp $RPM_BUILD_ROOT%{_sbindir}/sendmail %clean @@ -102,7 +102,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %attr(755,root,root) %{_sbindir}/sendmail -%attr(755,root,root) %{_prefix}/lib/sendmail +%attr(755,root,root) /usr/lib/sendmail %files base %defattr(644,root,root,755)