Added plugins for commercial docker rpm builds
This commit is contained in:
parent
788fb5bf67
commit
8fab3ea01f
@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -195,6 +195,9 @@ done
|
|||||||
rm -f %{buildroot}%{_datadir}/mysql/{mysql.server,mysqld_multi.server,mysql-log-rotate,binary-configure}
|
rm -f %{buildroot}%{_datadir}/mysql/{mysql.server,mysqld_multi.server,mysql-log-rotate,binary-configure}
|
||||||
rm -f %{buildroot}%{_datadir}/mysql/{*.ini,*.cnf}
|
rm -f %{buildroot}%{_datadir}/mysql/{*.ini,*.cnf}
|
||||||
|
|
||||||
|
# Remove files pages we explicitly do not want to package
|
||||||
|
rm -rf %{buildroot}%{_infodir}/mysql.info*
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if 0%{?runselftest}
|
%if 0%{?runselftest}
|
||||||
pushd release
|
pushd release
|
||||||
@ -271,6 +274,13 @@ rm -r $(readlink var) var
|
|||||||
%attr(644, root, root) %{_datadir}/mysql/mysql_system_tables_data.sql
|
%attr(644, root, root) %{_datadir}/mysql/mysql_system_tables_data.sql
|
||||||
%attr(644, root, root) %{_datadir}/mysql/mysql_test_data_timezone.sql
|
%attr(644, root, root) %{_datadir}/mysql/mysql_test_data_timezone.sql
|
||||||
%attr(644, root, root) %{_datadir}/mysql/magic
|
%attr(644, root, root) %{_datadir}/mysql/magic
|
||||||
|
|
||||||
|
%if 0%{?commercial}
|
||||||
|
%attr(755, root, root) %{_libdir}/mysql/plugin/audit_log.so
|
||||||
|
%attr(755, root, root) %{_libdir}/mysql/plugin/authentication_pam.so
|
||||||
|
%attr(755, root, root) %{_libdir}/mysql/plugin/thread_pool.so
|
||||||
|
%endif
|
||||||
|
|
||||||
%dir %attr(750, mysql, mysql) /var/lib/mysql
|
%dir %attr(750, mysql, mysql) /var/lib/mysql
|
||||||
%dir %attr(755, mysql, mysql) /var/run/mysqld
|
%dir %attr(755, mysql, mysql) /var/run/mysqld
|
||||||
%dir %attr(750, mysql, mysql) /var/lib/mysql-files
|
%dir %attr(750, mysql, mysql) /var/lib/mysql-files
|
||||||
|
Loading…
x
Reference in New Issue
Block a user