Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
6f2680a7
Commit
6f2680a7
authored
Jan 29, 2013
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move cassandra-related code from cmake/cpack_rpm.cmake
to storage/cassandra/CMakeLists.txt
parent
97d3402b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
cmake/cpack_rpm.cmake
cmake/cpack_rpm.cmake
+1
-3
storage/cassandra/CMakeLists.txt
storage/cassandra/CMakeLists.txt
+12
-0
No files found.
cmake/cpack_rpm.cmake
View file @
6f2680a7
...
@@ -20,13 +20,12 @@ SET(CPACK_COMPONENT_CLIENT_GROUP "client")
...
@@ -20,13 +20,12 @@ SET(CPACK_COMPONENT_CLIENT_GROUP "client")
SET
(
CPACK_COMPONENT_MANPAGESCLIENT_GROUP
"client"
)
SET
(
CPACK_COMPONENT_MANPAGESCLIENT_GROUP
"client"
)
SET
(
CPACK_COMPONENT_README_GROUP
"server"
)
SET
(
CPACK_COMPONENT_README_GROUP
"server"
)
SET
(
CPACK_COMPONENT_SHAREDLIBRARIES_GROUP
"shared"
)
SET
(
CPACK_COMPONENT_SHAREDLIBRARIES_GROUP
"shared"
)
SET
(
CPACK_COMPONENT_CASSANDRASELIBRARIES_GROUP
"CassandraSE"
)
SET
(
CPACK_COMPONENT_COMMON_GROUP
"common"
)
SET
(
CPACK_COMPONENT_COMMON_GROUP
"common"
)
SET
(
CPACK_COMPONENT_COMPAT_GROUP
"compat"
)
SET
(
CPACK_COMPONENT_COMPAT_GROUP
"compat"
)
SET
(
CPACK_COMPONENTS_ALL Server ManPagesServer IniFiles Server_Scripts
SET
(
CPACK_COMPONENTS_ALL Server ManPagesServer IniFiles Server_Scripts
SupportFiles Development ManPagesDevelopment
SupportFiles Development ManPagesDevelopment
ManPagesTest Readme ManPagesClient Test
ManPagesTest Readme ManPagesClient Test
Common Client SharedLibraries
CassandraSE
)
Common Client SharedLibraries
)
SET
(
CPACK_RPM_PACKAGE_NAME
"MariaDB"
)
SET
(
CPACK_RPM_PACKAGE_NAME
"MariaDB"
)
SET
(
CPACK_PACKAGE_FILE_NAME
"
${
CPACK_RPM_PACKAGE_NAME
}
-
${
VERSION
}
-
${
RPM
}
-
${
CMAKE_SYSTEM_PROCESSOR
}
"
)
SET
(
CPACK_PACKAGE_FILE_NAME
"
${
CPACK_RPM_PACKAGE_NAME
}
-
${
VERSION
}
-
${
RPM
}
-
${
CMAKE_SYSTEM_PROCESSOR
}
"
)
...
@@ -64,7 +63,6 @@ SET(CPACK_RPM_SPEC_MORE_DEFINE "${CPACK_RPM_SPEC_MORE_DEFINE}
...
@@ -64,7 +63,6 @@ SET(CPACK_RPM_SPEC_MORE_DEFINE "${CPACK_RPM_SPEC_MORE_DEFINE}
"
)
"
)
SET
(
CPACK_RPM_PACKAGE_REQUIRES
"MariaDB-common"
)
SET
(
CPACK_RPM_PACKAGE_REQUIRES
"MariaDB-common"
)
SET
(
CPACK_RPM_CassandraSE_PACKAGE_REQUIRES
"MariaDB-server"
)
SET
(
ignored
SET
(
ignored
"%ignore /etc"
"%ignore /etc"
...
...
storage/cassandra/CMakeLists.txt
View file @
6f2680a7
...
@@ -53,4 +53,16 @@ IF(CASSANDRASE_OK)
...
@@ -53,4 +53,16 @@ IF(CASSANDRASE_OK)
INSTALL
(
FILES cassandra.cnf DESTINATION
${
INSTALL_SYSCONFDIR
}
/my.cnf.d
INSTALL
(
FILES cassandra.cnf DESTINATION
${
INSTALL_SYSCONFDIR
}
/my.cnf.d
COMPONENT CassandraSE
)
COMPONENT CassandraSE
)
ENDIF
(
INSTALL_SYSCONFDIR
)
ENDIF
(
INSTALL_SYSCONFDIR
)
IF
(
RPM
)
SET
(
CPACK_COMPONENT_CASSANDRASELIBRARIES_GROUP
"CassandraSE"
PARENT_SCOPE
)
SET
(
CPACK_COMPONENTS_ALL
${
CPACK_COMPONENTS_ALL
}
CassandraSE PARENT_SCOPE
)
SET
(
CPACK_RPM_CassandraSE_PACKAGE_REQUIRES
"MariaDB-server"
PARENT_SCOPE
)
# workarounds for cmake issues #13248 and #12864:
SET
(
CPACK_RPM_CassandraSE_USER_FILELIST
${
ignored
}
"%config(noreplace) /etc/my.cnf.d/*"
PARENT_SCOPE
)
SET
(
CPACK_RPM_CassandraSE_PACKAGE_PROVIDES
"cmake_bug_13248"
PARENT_SCOPE
)
SET
(
CPACK_RPM_CassandraSE_PACKAGE_OBSOLETES
"cmake_bug_13248"
PARENT_SCOPE
)
ENDIF
(
RPM
)
ENDIF
(
CASSANDRASE_OK
)
ENDIF
(
CASSANDRASE_OK
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment