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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
5f76c15a
Commit
5f76c15a
authored
Sep 08, 2012
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-507 deb/rpm packages for galera builds
rpm part.
parent
02abef58
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
cmake/cpack_rpm.cmake
cmake/cpack_rpm.cmake
+3
-2
No files found.
cmake/cpack_rpm.cmake
View file @
5f76c15a
...
@@ -27,7 +27,7 @@ SET(CPACK_COMPONENTS_ALL Server ManPagesServer IniFiles Server_Scripts
...
@@ -27,7 +27,7 @@ SET(CPACK_COMPONENTS_ALL Server ManPagesServer IniFiles Server_Scripts
ManPagesTest Readme ManPagesClient Test
ManPagesTest Readme ManPagesClient Test
Common Client SharedLibraries
)
Common Client SharedLibraries
)
SET
(
CPACK_RPM_PACKAGE_NAME
"MariaDB"
)
SET
(
CPACK_RPM_PACKAGE_NAME
"MariaDB
-Galera
"
)
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
}
"
)
SET
(
CPACK_RPM_PACKAGE_RELEASE 1
)
# FIX: add distribution name here
SET
(
CPACK_RPM_PACKAGE_RELEASE 1
)
# FIX: add distribution name here
...
@@ -81,6 +81,7 @@ SET(CPACK_RPM_devel_PACKAGE_PROVIDES "MariaDB-devel MySQL-devel mysql-devel")
...
@@ -81,6 +81,7 @@ SET(CPACK_RPM_devel_PACKAGE_PROVIDES "MariaDB-devel MySQL-devel mysql-devel")
SET
(
CPACK_RPM_server_PACKAGE_OBSOLETES
"MariaDB mysql mysql-server MySQL-server MySQL-OurDelta-server"
)
SET
(
CPACK_RPM_server_PACKAGE_OBSOLETES
"MariaDB mysql mysql-server MySQL-server MySQL-OurDelta-server"
)
SET
(
CPACK_RPM_server_PACKAGE_PROVIDES
"MariaDB MariaDB-server MySQL-server config(MariaDB-server) msqlormysql mysql mysql-server"
)
SET
(
CPACK_RPM_server_PACKAGE_PROVIDES
"MariaDB MariaDB-server MySQL-server config(MariaDB-server) msqlormysql mysql mysql-server"
)
SET
(
CPACK_RPM_server_PACKAGE_REQUIRES
"
${
CPACK_RPM_PACKAGE_REQUIRES
}
galera"
)
SET
(
CPACK_RPM_server_PRE_INSTALL_SCRIPT_FILE
${
CMAKE_SOURCE_DIR
}
/support-files/rpm/server-prein.sh
)
SET
(
CPACK_RPM_server_PRE_INSTALL_SCRIPT_FILE
${
CMAKE_SOURCE_DIR
}
/support-files/rpm/server-prein.sh
)
SET
(
CPACK_RPM_server_PRE_UNINSTALL_SCRIPT_FILE
${
CMAKE_SOURCE_DIR
}
/support-files/rpm/server-preun.sh
)
SET
(
CPACK_RPM_server_PRE_UNINSTALL_SCRIPT_FILE
${
CMAKE_SOURCE_DIR
}
/support-files/rpm/server-preun.sh
)
SET
(
CPACK_RPM_server_POST_INSTALL_SCRIPT_FILE
${
CMAKE_SOURCE_DIR
}
/support-files/rpm/server-postin.sh
)
SET
(
CPACK_RPM_server_POST_INSTALL_SCRIPT_FILE
${
CMAKE_SOURCE_DIR
}
/support-files/rpm/server-postin.sh
)
...
@@ -118,7 +119,7 @@ IF (compat_rpm)
...
@@ -118,7 +119,7 @@ IF (compat_rpm)
# Make sure that for these distribuions all our rpms require
# Make sure that for these distribuions all our rpms require
# MariaDB-compat, that will replace mysql-libs-5.1
# MariaDB-compat, that will replace mysql-libs-5.1
IF
(
RPM MATCHES
"(rhel|centos)6"
)
IF
(
RPM MATCHES
"(rhel|centos)6"
)
SET
(
CPACK_RPM_common_PACKAGE_REQUIRES
"MariaDB-compat"
)
SET
(
CPACK_RPM_common_PACKAGE_REQUIRES
"MariaDB-
Galera-
compat"
)
ENDIF
()
ENDIF
()
ENDIF
(
compat_rpm
)
ENDIF
(
compat_rpm
)
...
...
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