maria-developers team mailing list archive
Mailing list archive
Re: how to build mariadb RPMs
On Jan 22, Rich Prohaska wrote:
> It worked very nicely. How hard to you think it is to port to MySQL?
> Yes, we support MySQL.
Not very difficult. There're changes in various CMakeLists.txt - to set
correct components for files. in the main CMakeLists.txt - to read in
this cpack_rpm.cmake, and in the install_layout.cmake.
But generally, MySQL uses a hand-crafted mysql.spec, sometimes with
extra patches on top. And invoke rpmbuild directly.
> > But, anyway, for rpm it's
> > cmake -DRPM=xxx
> > make package