%attr(755,root,root) %{_libdir}/mysql/%{mysqlversion}/sbin/mysql_upgrade
%attr(755,root,root) %{_libdir}/mysql/%{mysqlversion}/sbin/mysqlcheck
%attr(755,root,root) %{_libdir}/mysql/%{mysqlversion}/sbin/mysqld
+%dir %{_libdir}/mysql/%{mysqlversion}/plugin
%attr(755,root,root) %{_libdir}/mysql/%{mysqlversion}/plugin/adt_null.so
%attr(755,root,root) %{_libdir}/mysql/%{mysqlversion}/plugin/auth.so
%attr(755,root,root) %{_libdir}/mysql/%{mysqlversion}/plugin/auth_socket.so
%if %{with sphinx}
%attr(755,root,root) %{_libdir}/mysql/%{mysqlversion}/plugin/ha_sphinx.so
%endif
+%dir %{_libdir}/mysql/%{mysqlversion}/private
%{_libdir}/mysql/%{mysqlversion}/private/icudt*l
%{_datadir}/mysql/%{mysqlversion}/man/man1/ibd2sdi.1*
%{_datadir}/mysql/%{mysqlversion}/man/man1/innochecksum.1*
%{_datadir}/mysql/%{mysqlversion}/man/man1/*resolve_stack_dump.1*
%endif
+%attr(750,mysql,mysql) %dir /var/log/mysql/%{mysqlversion}
+%attr(750,mysql,mysql) %dir /var/log/archive/mysql/%{mysqlversion}
%attr(640,mysql,mysql) %ghost /var/log/mysql/%{mysqlversion}/*
# This is template for configuration file which is created after 'service mysql init'
%{_datadir}/mysql/%{mysqlversion}/mysqld.conf
+%dir %{_datadir}/mysql/%{mysqlversion}/lang
%{_datadir}/mysql/%{mysqlversion}/lang/english
%{_datadir}/mysql/%{mysqlversion}/lang/dictionary.txt
%{_datadir}/mysql/%{mysqlversion}/lang/messages_to_clients.txt
# root:root is proper here for mysql.rpm while mysql:mysql is potential security hole
%attr(751,root,root) %dir /var/lib/mysql/%{mysqlversion}
%attr(750,mysql,mysql) %dir /var/lib/mysql-files/%{mysqlversion}
-%attr(750,mysql,mysql) %dir /var/log/mysql/%{mysqlversion}
-%attr(750,mysql,mysql) %dir /var/log/archive/mysql/%{mysqlversion}
%dir %{_libdir}/mysql/%{mysqlversion}
%dir %{_libdir}/mysql/%{mysqlversion}/bin
%dir %{_libdir}/mysql/%{mysqlversion}/sbin
-%dir %{_libdir}/mysql/%{mysqlversion}/plugin
-%dir %{_libdir}/mysql/%{mysqlversion}/private
%dir %{_datadir}/mysql/%{mysqlversion}
%dir %{_datadir}/mysql/%{mysqlversion}/man
%dir %{_datadir}/mysql/%{mysqlversion}/man/man1
%dir %{_datadir}/mysql/%{mysqlversion}/man/man8
-%dir %{_datadir}/mysql/%{mysqlversion}/lang
%files extras
%defattr(644,root,root,755)