Source plugin library files list from cmake-generated file in RPM builds
This commit is contained in:
parent
9cb18248a7
commit
c8c3e9bd9b
@ -196,6 +196,10 @@ MACRO(MYSQL_ADD_PLUGIN)
|
|||||||
# Install dynamic library
|
# Install dynamic library
|
||||||
MYSQL_INSTALL_TARGETS(${target} DESTINATION ${INSTALL_PLUGINDIR} COMPONENT Server)
|
MYSQL_INSTALL_TARGETS(${target} DESTINATION ${INSTALL_PLUGINDIR} COMPONENT Server)
|
||||||
INSTALL_DEBUG_TARGET(${target} DESTINATION ${INSTALL_PLUGINDIR}/debug)
|
INSTALL_DEBUG_TARGET(${target} DESTINATION ${INSTALL_PLUGINDIR}/debug)
|
||||||
|
# Add installed files to list for RPMs
|
||||||
|
FILE(APPEND ${CMAKE_BINARY_DIR}/support-files/plugins.files
|
||||||
|
"%attr(755, root, root) %{_prefix}/${INSTALL_PLUGINDIR}/${ARG_MODULE_OUTPUT_NAME}.so\n"
|
||||||
|
"%attr(755, root, root) %{_prefix}/${INSTALL_PLUGINDIR}/debug/${ARG_MODULE_OUTPUT_NAME}.so\n")
|
||||||
# For internal testing in PB2, append collections files
|
# For internal testing in PB2, append collections files
|
||||||
IF(DEFINED ENV{PB2WORKDIR})
|
IF(DEFINED ENV{PB2WORKDIR})
|
||||||
PLUGIN_APPEND_COLLECTIONS(${plugin})
|
PLUGIN_APPEND_COLLECTIONS(${plugin})
|
||||||
|
@ -944,7 +944,7 @@ echo "=====" >> $STATUS_HISTORY
|
|||||||
# Files section
|
# Files section
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
%files -n MySQL-server%{product_suffix}
|
%files -n MySQL-server%{product_suffix} -f release/support-files/plugins.files
|
||||||
%defattr(-,root,root,0755)
|
%defattr(-,root,root,0755)
|
||||||
|
|
||||||
%if %{defined license_files_server}
|
%if %{defined license_files_server}
|
||||||
@ -1015,28 +1015,6 @@ echo "=====" >> $STATUS_HISTORY
|
|||||||
%attr(755, root, root) %{_sbindir}/mysqld
|
%attr(755, root, root) %{_sbindir}/mysqld
|
||||||
%attr(755, root, root) %{_sbindir}/mysqld-debug
|
%attr(755, root, root) %{_sbindir}/mysqld-debug
|
||||||
%attr(755, root, root) %{_sbindir}/rcmysql
|
%attr(755, root, root) %{_sbindir}/rcmysql
|
||||||
%attr(755, root, root) %{_libdir}/mysql/plugin/adt_null.so
|
|
||||||
%attr(755, root, root) %{_libdir}/mysql/plugin/libdaemon_example.so
|
|
||||||
%attr(755, root, root) %{_libdir}/mysql/plugin/mypluglib.so
|
|
||||||
%attr(755, root, root) %{_libdir}/mysql/plugin/semisync_master.so
|
|
||||||
%attr(755, root, root) %{_libdir}/mysql/plugin/semisync_slave.so
|
|
||||||
%attr(755, root, root) %{_libdir}/mysql/plugin/auth.so
|
|
||||||
%attr(755, root, root) %{_libdir}/mysql/plugin/auth_socket.so
|
|
||||||
%attr(755, root, root) %{_libdir}/mysql/plugin/auth_test_plugin.so
|
|
||||||
%attr(755, root, root) %{_libdir}/mysql/plugin/qa_auth_client.so
|
|
||||||
%attr(755, root, root) %{_libdir}/mysql/plugin/qa_auth_interface.so
|
|
||||||
%attr(755, root, root) %{_libdir}/mysql/plugin/qa_auth_server.so
|
|
||||||
%attr(755, root, root) %{_libdir}/mysql/plugin/debug/adt_null.so
|
|
||||||
%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libdaemon_example.so
|
|
||||||
%attr(755, root, root) %{_libdir}/mysql/plugin/debug/mypluglib.so
|
|
||||||
%attr(755, root, root) %{_libdir}/mysql/plugin/debug/semisync_master.so
|
|
||||||
%attr(755, root, root) %{_libdir}/mysql/plugin/debug/semisync_slave.so
|
|
||||||
%attr(755, root, root) %{_libdir}/mysql/plugin/debug/auth.so
|
|
||||||
%attr(755, root, root) %{_libdir}/mysql/plugin/debug/auth_socket.so
|
|
||||||
%attr(755, root, root) %{_libdir}/mysql/plugin/debug/auth_test_plugin.so
|
|
||||||
%attr(755, root, root) %{_libdir}/mysql/plugin/debug/qa_auth_client.so
|
|
||||||
%attr(755, root, root) %{_libdir}/mysql/plugin/debug/qa_auth_interface.so
|
|
||||||
%attr(755, root, root) %{_libdir}/mysql/plugin/debug/qa_auth_server.so
|
|
||||||
|
|
||||||
%if %{WITH_TCMALLOC}
|
%if %{WITH_TCMALLOC}
|
||||||
%attr(755, root, root) %{_libdir}/mysql/%{malloc_lib_target}
|
%attr(755, root, root) %{_libdir}/mysql/%{malloc_lib_target}
|
||||||
@ -1131,6 +1109,10 @@ echo "=====" >> $STATUS_HISTORY
|
|||||||
# merging BK trees)
|
# merging BK trees)
|
||||||
##############################################################################
|
##############################################################################
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 12 2011 Daniel Fischer <daniel.fischer@oracle.com>
|
||||||
|
|
||||||
|
- Source plugin library files list from cmake-generated file.
|
||||||
|
|
||||||
* Thu Jul 21 2011 Sunanda Menon <sunanda.menon@oracle.com>
|
* Thu Jul 21 2011 Sunanda Menon <sunanda.menon@oracle.com>
|
||||||
|
|
||||||
- Fix bug#12561297: Added the MySQL embedded binary
|
- Fix bug#12561297: Added the MySQL embedded binary
|
||||||
|
Loading…
x
Reference in New Issue
Block a user