- Replace fpm with native rpmbuild in Dockerfile.package
- Setup proper rpmbuild directory structure (BUILD, RPMS, SOURCES, SPECS)
- Make spec file version dynamic via %{?build_version} macro
- Improve %post script with better systemd detection and error handling
- RPM now correctly uses VERSION build argument
Builds RPM packages for el8, el9, and el10 distributions.
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>