I developed a customized community beat, and want to build RPMs, and then deploy to my environment.
I can use "make package" to build RPMs successfully, but I want to make the package name and its rpm meta data conform to the standard "name-version-release.architecture.rpm" format, e.g. xxxbeat-6.0.0-2.x86_64.rpm,
I get some problems here
The rpm package generated uses "-" before the "arch", instead of ".". Can I change it from the build process? It is annoying to rename every time.
Release information cannot be specified. If I provide "version-release" information in "version.yml", it only appears in "Version" field of the rpm meta data. For example, I use 'version: "6.0.0-2"' in version.yml, and then get version 6.0.0_2 when I run "rpm -qi" against the package, and the release field is always "1". Is there any method to specify the release information correctly?