From 04e4e506db098405bb85a641d8947643abc91231 Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Fri, 16 Aug 2024 14:34:18 +0200 Subject: [PATCH] Fixup for commit: "Split the testsuite into two sub-packages" When %attr(-,mysql,mysql) %{_datadir}/mysql-test is used,the path, *and everything on it* is added Only when prepended with '%dir', it won't added anything else than the directory itself The mistake resulted in all files under %attr(-,mysql,mysql) %{_datadir}/mysql-test to be present in both subpackages 'mysql-test' and 'mysql-test-data'. --- mysql8.4.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mysql8.4.spec b/mysql8.4.spec index f76fecf..92b9f43 100644 --- a/mysql8.4.spec +++ b/mysql8.4.spec @@ -1020,8 +1020,7 @@ fi %{_bindir}/mysqltest_safe_process %{_bindir}/mysqlxtest -%attr(-,mysql,mysql) %{_datadir}/mysql-test -%dir %{_datadir}/mysql-test +%dir %attr(-,mysql,mysql) %{_datadir}/mysql-test %{_datadir}/mysql-test/%{skiplist} %dir %{_libdir}/mysql @@ -1124,7 +1123,6 @@ fi %files -n %{pkgname}-test-data %attr(-,mysql,mysql) %{_datadir}/mysql-test -%dir %{_datadir}/mysql-test %exclude %{_datadir}/mysql-test/%{skiplist} %endif