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
a095c993
Commit
a095c993
authored
Jan 26, 2016
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix packaging for client RPM plugins - provide 'ignored' list
parent
7831b79f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
cmake/plugin.cmake
cmake/plugin.cmake
+5
-5
No files found.
cmake/plugin.cmake
View file @
a095c993
...
...
@@ -216,13 +216,13 @@ MACRO(MYSQL_ADD_PLUGIN)
# workarounds for cmake issues #13248 and #12864:
SET
(
CPACK_RPM_
${
ARG_COMPONENT
}
_PACKAGE_PROVIDES
"cmake_bug_13248"
PARENT_SCOPE
)
SET
(
CPACK_RPM_
${
ARG_COMPONENT
}
_PACKAGE_OBSOLETES
"cmake_bug_13248"
PARENT_SCOPE
)
IF
(
NOT ARG_CLIENT AND NOT ARG_CONFIG AND UNIX
)
SET
(
CPACK_RPM_
${
ARG_COMPONENT
}
_USER_FILELIST
${
ignored
}
PARENT_SCOPE
)
IF
(
NOT ARG_CLIENT AND NOT ARG_CONFIG AND UNIX
)
SET
(
ARG_CONFIG
"
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
target
}
.cnf"
)
FILE
(
WRITE
${
ARG_CONFIG
}
"[mariadb]
\n
plugin-load-add=
${
ARG_MODULE_OUTPUT_NAME
}
.so
\n
"
)
INSTALL
(
FILES
${
ARG_CONFIG
}
COMPONENT
${
ARG_COMPONENT
}
DESTINATION
${
INSTALL_SYSCONF2DIR
}
)
SET
(
CPACK_RPM_
${
ARG_COMPONENT
}
_USER_FILELIST
${
ignored
}
"%config(noreplace)
${
INSTALL_SYSCONF2DIR
}
/*"
PARENT_SCOPE
)
ENDIF
()
INSTALL
(
FILES
${
ARG_CONFIG
}
COMPONENT
${
ARG_COMPONENT
}
DESTINATION
${
INSTALL_SYSCONF2DIR
}
)
SET
(
CPACK_RPM_
${
ARG_COMPONENT
}
_USER_FILELIST
${
ignored
}
"%config(noreplace)
${
INSTALL_SYSCONF2DIR
}
/*"
PARENT_SCOPE
)
ENDIF
()
ENDIF
()
ELSE
()
SET
(
ARG_COMPONENT Server
)
...
...
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