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'.
This commit is contained in:
parent
5b29119758
commit
04e4e506db
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user