Building RPM Packages From Source

To generate RPM packages from the build, supply the -DRPM=yes flag to CMake.

The value yes (or whatever) will build generic RPM packages. It is also possible to use one of these special values that will slightly modify what kind of layout the resulting RPM packages will have:

  • fedora
  • centos7/rhel7
  • centos8/rhel8
  • sles

What these do are controlled in the following CMake files:

  • cmake/cpack_rpm.cmake
  • cmake/build_configurations/mysql_release.cmake
  • cmake/mariadb_connector_c.cmake

See Also

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.