Skip to content

Commit 403c683

Browse files
bkandasabjornmu
authored andcommitted
Remove old style spec references
(cherry picked from commit 05d0496cc3a6b091a449f80eaf0b645182e29351)
1 parent bd868bb commit 403c683

File tree

3 files changed

+2
-20
lines changed

3 files changed

+2
-20
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,7 @@ ADD_SUBDIRECTORY(scripts)
561561
IF(NOT WITHOUT_SERVER)
562562
ADD_SUBDIRECTORY(mysql-test)
563563
ADD_SUBDIRECTORY(mysql-test/lib/My/SafeProcess)
564+
ADD_SUBDIRECTORY(support-files)
564565
ADD_SUBDIRECTORY(sql-bench)
565566
IF(EXISTS ${CMAKE_SOURCE_DIR}/internal/CMakeLists.txt)
566567
ADD_SUBDIRECTORY(internal)

cmake/make_dist.cmake.in

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -151,15 +151,6 @@ CONFIGURE_FILE(${CMAKE_BINARY_DIR}/sql/sql_hints.yy.h
151151
CONFIGURE_FILE(${CMAKE_BINARY_DIR}/sql/sql_hints.yy.cc
152152
${PACKAGE_DIR}/sql/sql_hints.yy.cc COPYONLY)
153153

154-
# Copy spec files
155-
SET(SPECFILENAME "mysql.${VERSION}.spec")
156-
IF("${VERSION}" MATCHES "-ndb-")
157-
STRING(REGEX REPLACE "^.*-ndb-" "" NDBVERSION "${VERSION}")
158-
SET(SPECFILENAME "mysql-cluster-${NDBVERSION}.spec")
159-
ENDIF()
160-
CONFIGURE_FILE(${CMAKE_BINARY_DIR}/support-files/${SPECFILENAME}
161-
${PACKAGE_DIR}/support-files/${SPECFILENAME} COPYONLY)
162-
163154
# Add documentation, if user has specified where to find them
164155
IF(MYSQL_DOCS_LOCATION)
165156
MESSAGE("Copying documentation files from " ${MYSQL_DOCS_LOCATION})

support-files/CMakeLists.txt

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved.
22
#
33
# This program is free software; you can redistribute it and/or modify
44
# it under the terms of the GNU General Public License as published by
@@ -71,17 +71,7 @@ IF(UNIX)
7171

7272
INSTALL(FILES mysql.m4 DESTINATION ${INSTALL_SHAREDIR}/aclocal COMPONENT Development)
7373
CONFIGURE_FILE(MySQL-shared-compat.spec.sh ${CMAKE_CURRENT_BINARY_DIR}/MySQL-shared-compat.spec @ONLY)
74-
CONFIGURE_FILE(mysql.spec.sh ${CMAKE_CURRENT_BINARY_DIR}/mysql.spec @ONLY)
7574

76-
SET(SPECFILENAME "mysql.${VERSION}.spec")
77-
IF("${VERSION}" MATCHES "-ndb-")
78-
STRING(REGEX REPLACE "^.*-ndb-" "" NDBVERSION "${VERSION}")
79-
SET(SPECFILENAME "mysql-cluster-${NDBVERSION}.spec")
80-
ENDIF()
81-
CONFIGURE_FILE(mysql.spec.sh ${CMAKE_CURRENT_BINARY_DIR}/${SPECFILENAME} @ONLY)
82-
83-
CONFIGURE_FILE(MySQL-shared-compat.spec.sh ${CMAKE_CURRENT_BINARY_DIR}/MySQL-shared-compat.spec @ONLY)
84-
8575
SET(bindir ${prefix}/${INSTALL_BINDIR})
8676
SET(sbindir ${prefix}/${INSTALL_SBINDIR})
8777
SET(scriptdir ${prefix}/${INSTALL_SCRIPTDIR})

0 commit comments

Comments
 (0)