Skip to content

feat(packaging): add .rpm package generation via nfpm#52

Merged
vmvarela merged 2 commits intomasterfrom
feature/39-rpm-package
Mar 14, 2026
Merged

feat(packaging): add .rpm package generation via nfpm#52
vmvarela merged 2 commits intomasterfrom
feature/39-rpm-package

Conversation

@vmvarela
Copy link
Owner

Summary

  • Add package-rpm CI job that builds .rpm packages for x86_64 and aarch64 using nfpm v2.45.1
  • Update packaging/nfpm.yaml to support both .deb and .rpm from the same config: man page now applies to both packagers, RPM license installed to /usr/share/licenses/sql-pipe/LICENSE
  • Update checksums job's needs to include package-rpm so sha256sums.txt covers all release assets
  • Add Fedora / RHEL / openSUSE install instructions to README

Acceptance Criteria

  • Generate .rpm packages for x86_64 and aarch64 architectures
  • Package includes the binary, man page, and license
  • Package metadata is correct (name, version, summary, license, URL)
  • Installation via rpm -i sql-pipe-<version>-1.<arch>.rpm works
  • .rpm artifacts are uploaded to GitHub Releases by the CI workflow
  • README updated with RPM installation instructions

Closes #39

- Add package-rpm CI job (x86_64 and aarch64) mirroring package-deb
- Update nfpm.yaml: make man page entry apply to both packagers,
  add RPM-specific license path (/usr/share/licenses/), update docs
- Update checksums job needs to include package-rpm
- Add Fedora/RHEL/openSUSE install instructions to README

Closes #39
@github-actions github-actions bot added type:chore Maintenance, refactoring, tooling type:docs Documentation only labels Mar 14, 2026
- Change checksums if-condition to require both package-deb and
  package-rpm to succeed (or be skipped) before generating sha256sums.txt
- Fix inaccurate comment: nfpm maps arm7 to armv7hl for RPM, not armhfp
@vmvarela vmvarela merged commit 74906c3 into master Mar 14, 2026
5 checks passed
@vmvarela vmvarela deleted the feature/39-rpm-package branch March 14, 2026 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:chore Maintenance, refactoring, tooling type:docs Documentation only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RPM package for Fedora/RHEL/openSUSE

1 participant