Commit e28785eb authored by Joerg Bruehe's avatar Joerg Bruehe

Still work on getting the "SPECIFIC-ULN/" files into the build.

"INSTALL" was wrong, happens too late,
but "CONFIGURE_FILES(... COPYONLY)" should hopefully do it.

Traditional RPMs need to be checked, the above might fix their issues.
parent 350eef0e
......@@ -26,27 +26,12 @@ IF(UNIX)
# Left in current directory, to be taken during build
CONFIGURE_FILE(mysql.spec.sh ${CMAKE_CURRENT_BINARY_DIR}/${SPECFILENAME} @ONLY)
SET(PATCHES
mysql-5.5-errno.patch
mysql-5.5-fix-tests.patch
mysql-5.5-libdir.patch
mysql-5.5-mtr1.patch
mysql-5.5-stack-guard.patch
mysql-5.5-testing.patch
mysql-chain-certs.patch
mysql-expired-certs.patch
mysql-install-test.patch
mysql-strmov.patch)
SET(OTHER
filter-requires-mysql.sh
generate-tarball.sh
my.cnf
my_config.h
mysql-embedded-check.c
mysql.init
scriptstub.c)
INSTALL(FILES ${PATCHES} ${OTHER} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
FOREACH(ulnfile filter-requires-mysql.sh generate-tarball.sh my.cnf my_config.h
mysql-5.5-errno.patch mysql-5.5-fix-tests.patch mysql-5.5-libdir.patch
mysql-5.5-mtr1.patch mysql-5.5-stack-guard.patch mysql-5.5-testing.patch
mysql-chain-certs.patch mysql-embedded-check.c mysql-expired-certs.patch
mysql.init mysql-install-test.patch mysql-strmov.patch scriptstub.c)
CONFIGURE_FILE(${ulnfile} ${CMAKE_CURRENT_BINARY_DIR}/${ulnfile} COPYONLY)
ENDFOREACH()
ENDIF()
......@@ -406,9 +406,6 @@ For a description of MySQL see the base MySQL RPM or http://www.mysql.com/
# Be strict about variables, bail at earliest opportunity, etc.
set -eu
# Get rid of stuff for ULN RPMs - not needed here
rm -fr %{src_dir}/SPECIFIC-ULN/
# Optional package files
touch optional-files-devel
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment