From f381735532fa0b27b1e4004dc54ad064a9d04ca5 Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Mon, 27 May 2024 17:46:53 +0200 Subject: [PATCH] SPECfile %files section fixup - add missing directories Resolves: #2283500 -- Script used for checking the files inside "/usr/share/mariadb*" | # Find directories that start with 'mariadb' under /usr/share/ | find /usr/share/ -type d -name 'mariadb*' | while read -r dir; do | # For each directory found, recursively find all files and directories | find "$dir" -print0 | while IFS= read -r -d '' file; do | rpm -qf "$file" | grep -i -e "not owned" | done | done Results: | file /usr/share/mariadb-server is not owned by any package | file /usr/share/mariadb-server/groonga is not owned by any package | file /usr/share/mariadb-server/groonga-normalizer-mysql is not owned by any package | file /usr/share/mariadb/mroonga is not owned by any package --- mariadb10.11.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mariadb10.11.spec b/mariadb10.11.spec index 24913a7..355b5cc 100644 --- a/mariadb10.11.spec +++ b/mariadb10.11.spec @@ -1544,6 +1544,10 @@ fi %{_datadir}/%{majorname}/mysql_performance_tables.sql %{_datadir}/%{majorname}/mysql_test_db.sql %if %{with mroonga} +%dir %{_datadir}/%{majorname}/mroonga +%dir %{_datadir}/%{majorname}-server +%dir %{_datadir}/%{majorname}-server/groonga +%dir %{_datadir}/%{majorname}-server/groonga-normalizer-mysql %{_datadir}/%{majorname}/mroonga/install.sql %{_datadir}/%{majorname}/mroonga/uninstall.sql %license %{_datadir}/%{majorname}/mroonga/COPYING