From: Marcin Krol Date: Thu, 25 Apr 2024 00:41:29 +0000 (+0200) Subject: - don't keep mysql package specific directories in dirs subpackage X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=199b8a3cff3ffa0c5118eddabb16a98c09885200;p=packages%2Fmysql.git - don't keep mysql package specific directories in dirs subpackage --- diff --git a/mysql.spec b/mysql.spec index 39a6570..32e2afe 100644 --- a/mysql.spec +++ b/mysql.spec @@ -1001,6 +1001,7 @@ fi %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 @@ -1042,6 +1043,7 @@ fi %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* @@ -1059,11 +1061,14 @@ fi %{_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 @@ -1116,18 +1121,13 @@ fi # 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)