[PR #85] [MERGED] Add RPM packaging support for RHEL-based systems #104

Closed
opened 2026-03-02 15:47:56 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/PegaProx/project-pegaprox/pull/85
Author: @zakirpcs
Created: 2/26/2026
Status: Merged
Merged: 2/26/2026
Merged by: @mkellermann97

Base: mainHead: feature/rpm-packaging


📝 Commits (1)

  • 37f8d99 Add RPM packaging support for RHEL-based systems

📊 Changes

1 file changed (+103 additions, -0 deletions)

View changed files

packaging/rpm/pegaprox.spec (+103 -0)

📄 Description

Summary

This PR introduces native RPM packaging support for project-pegaprox, enabling installation on RHEL-based distributions such as:

  1. Red Hat Enterprise Linux 9
  2. AlmaLinux 9
  3. Rocky Linux 9

The goal is to simplify deployment in enterprise environments where RPM-based lifecycle management is standard.

Changes Included

Added RPM spec file under packaging/rpm/

Defined proper:
BuildRequires
Runtime dependencies
File manifest
Integrated systemd unit file
Verified successful build using rpmbuild on AlmaLinux 9
Clean build with no unpackaged file errors

Build Instructions
To build the RPM:

dnf install rpm-build rpmdevtools
rpmdev-setuptree
cp packaging/rpm/pegaprox.spec ~/rpmbuild/SPECS/
cp <generated-source-tarball> ~/rpmbuild/SOURCES/
rpmbuild -ba ~/rpmbuild/SPECS/pegaprox.spec

The resulting RPM will be available under:
~/rpmbuild/RPMS/x86_64/

Why This Is Useful

  • Many enterprise environments rely on:
  • Native RPM lifecycle management
  • Centralized repositories (Foreman, Satellite, Spacewalk)
  • Patch governance and version control
  • Configuration management via Ansible
  • Providing an official spec file allows:
  • Clean integration into internal repositories
  • Automated CI-based RPM builds
  • Easier adoption in production infrastructure

Testing
Built and tested on AlmaLinux 9

Verified:

  • Successful installation via dnf install
  • Service start/stop behavior via systemd script
  • Proper dependency resolution

Notes

  • No core source code modifications were made.
  • This change only introduces packaging support.
  • Pre-built RPMs are not included in the repository.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/PegaProx/project-pegaprox/pull/85 **Author:** [@zakirpcs](https://github.com/zakirpcs) **Created:** 2/26/2026 **Status:** ✅ Merged **Merged:** 2/26/2026 **Merged by:** [@mkellermann97](https://github.com/mkellermann97) **Base:** `main` ← **Head:** `feature/rpm-packaging` --- ### 📝 Commits (1) - [`37f8d99`](https://github.com/PegaProx/project-pegaprox/commit/37f8d990c4acc4ec9663de20f9d95d555aef6570) Add RPM packaging support for RHEL-based systems ### 📊 Changes **1 file changed** (+103 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `packaging/rpm/pegaprox.spec` (+103 -0) </details> ### 📄 Description **Summary** This PR introduces native RPM packaging support for project-pegaprox, enabling installation on RHEL-based distributions such as: 1. Red Hat Enterprise Linux 9 2. AlmaLinux 9 3. Rocky Linux 9 The goal is to simplify deployment in enterprise environments where RPM-based lifecycle management is standard. **Changes Included** Added RPM spec file under packaging/rpm/ Defined proper: BuildRequires Runtime dependencies File manifest Integrated systemd unit file Verified successful build using rpmbuild on AlmaLinux 9 Clean build with no unpackaged file errors Build Instructions To build the RPM: ``` dnf install rpm-build rpmdevtools rpmdev-setuptree cp packaging/rpm/pegaprox.spec ~/rpmbuild/SPECS/ cp <generated-source-tarball> ~/rpmbuild/SOURCES/ rpmbuild -ba ~/rpmbuild/SPECS/pegaprox.spec ``` The resulting RPM will be available under: ~/rpmbuild/RPMS/x86_64/ Why This Is Useful - Many enterprise environments rely on: - Native RPM lifecycle management - Centralized repositories (Foreman, Satellite, Spacewalk) - Patch governance and version control - Configuration management via Ansible - Providing an official spec file allows: - Clean integration into internal repositories - Automated CI-based RPM builds - Easier adoption in production infrastructure **Testing** Built and tested on AlmaLinux 9 **Verified**: - Successful installation via dnf install - Service start/stop behavior via systemd script - Proper dependency resolution **Notes** - No core source code modifications were made. - This change only introduces packaging support. - Pre-built RPMs are not included in the repository. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 15:47:56 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/project-pegaprox-PegaProx#104
No description provided.