Am 13.03.2015 um 11:23 schrieb Timo Sirainen:
On 12 Mar 2015, at 21:09, Reindl Harald h.reindl@thelounge.net wrote:
/usr/lib64/dovecot/stats/libstats_mail.so
why in the world a new sub-directory containing just one so-file enforcing pakcage buildsers to change SPEC files?
So that external plugins can add more files in there and extend the available statistics
but they can also go to /usr/lib64/dovecot/ http://fedoraproject.org/wiki/Packaging:Guidelines#Beware_of_Rpath
hence
cat /etc/ld.so.conf.d/dovecot-x86_64.conf /usr/lib64/dovecot
i just "rm -rf" the folder and other stuff for private builds in environments where dovecot is running only as proxy
rm -rf %{buildroot}%{_sysconfdir}/%{name}/README
%{buildroot}%{_docdir}/%{name}-%{version}
%{buildroot}%{_includedir}/%{name}/
%{buildroot}%{_mandir}/man1/
%{buildroot}%{_mandir}/man7/
%{buildroot}%{_datarootdir}/aclocal/
%{buildroot}%{_bindir}/dsync
%{buildroot}%{_libdir}/%{name}/*_plugin.so
%{buildroot}%{_libdir}/%{name}/doveadm/*_plugin.so
%{buildroot}%{_libdir}/%{name}/lib%{name}-lda.so
%{buildroot}%{_libdir}/%{name}/lib%{name}-lda.so.0
%{buildroot}%{_libdir}/%{name}/lib%{name}-lda.so.0.0.0
%{buildroot}%{_libdir}/%{name}/lib%{name}-compression.so
%{buildroot}%{_libdir}/%{name}/lib%{name}-compression.so.0
%{buildroot}%{_libdir}/%{name}/lib%{name}-compression.so.0.0.0
%{buildroot}%{_libdir}/%{name}/stats
%{buildroot}%{_libexecdir}/%{name}/%{name}-lda
%{buildroot}%{_libexecdir}/%{name}/gdbhelper
%{buildroot}%{_libexecdir}/%{name}/quota-status
%{buildroot}%{_libexecdir}/%{name}/deliver
%{buildroot}%{_libexecdir}/%{name}/lmtp