Hi team,
We are trying to build the rabbitmq rpm from source code, after many trail and errors we came up with this procedure which is working for us.
As it is not documented anywhere we wanted confirmation on few things like "will the same procedure work for future releases of rabbitmq also" , "is this build procedure safe to follow" , "are we missing anything in this procedure which troubles a working feature" etc.
The build script is attached, the script flow is as follows:
1. Install the dependencies which are required for build process
2. Install esl-erlang which is compatible with rabbitmq
3. Install elixir
4. Use gmake command mentioned here(
https://github.com/rabbitmq/rabbitmq-server/discussions/11775) to build the tar file from the rabbitmq source code
5. Pull the rabbitmq-packaging from (
https://github.com/rabbitmq/rabbitmq-packaging) which is needed in packaging rabbitmq rpm
6. Point the tar file built in 4th step as SOURCE_DIST_FILE, which will be used by rabbitmq-packaging
7. Run "make package-rpm" command which will use the make file in rabbitmq-packaging to build the rpm
Please go through the script and clarify whether we can go ahead and use this procedure.