Skip to content

Build .deb and .rpm packages for Linux releases - #244

Merged
manugarg merged 2 commits into
mainfrom
add-deb-rpm-packages
Jun 25, 2026
Merged

manugarg merged 2 commits into
mainfrom
add-deb-rpm-packages

Conversation

@manugarg

Copy link
Copy Markdown
Owner

Closes #241.

Summary

  • Add a pkg Makefile target that stages an FHS install tree and runs fpm to emit both .deb and .rpm (ldconfig wired in via post-install/remove hooks).
  • Build and publish the packages from the CI release flow, alongside the existing zips.
  • Document installing from .deb/.rpm in INSTALL.

Test plan

  • Verified the staged /usr tree (paths + perms) produced by the install step.
  • Verified the pkg target's deb/rpm fpm invocations via a stub (incl. version sanitizing v1.5.1-3-gxxxx → 1.5.1.3.gxxxx).
  • Actual .deb/.rpm generation runs in CI (fpm/rpmbuild not available locally).

manugarg and others added 2 commits June 25, 2026 13:32
- Add `pkg` Makefile target that stages an FHS install tree and runs fpm
  to emit both .deb and .rpm.
- Run ldconfig via package post-install/post-remove hooks.
- Build and publish the packages from the CI release flow.
- Document installing from .deb/.rpm in INSTALL.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@sonarqubecloud

Copy link
Copy Markdown

@manugarg
manugarg merged commit 7733d0f into main Jun 25, 2026
30 checks passed
@manugarg
manugarg deleted the add-deb-rpm-packages branch June 25, 2026 21:30
social4hyq pushed a commit to social4hyq/homebrew-core that referenced this pull request Sep 20, 2026
pacparser 1.5.2

Created-by: HarmonybrewBot
Commit-by: HarmonybrewBot
Merged-by: HarmonybrewBot
Description: Created by `brew bump`

---

Created with `brew bump-formula-pr`.<details>
  <summary>release notes</summary>
  <pre>## What's Changed
* Bump the github-actions group across 1 directory with 3 updates by @dependabot[bot] in manugarg/pacparser#243
* Build .deb and .rpm packages for Linux releases by @manugarg in manugarg/pacparser#244
* Document SonarCloud token rotation by @manugarg in manugarg/pacparser#245
* Document that the pacparser API is not thread-safe by @manugarg in manugarg/pacparser#247
* Bump the github-actions group with 3 updates by @dependabot[bot] in manugarg/pacparser#249
* Bump the github-actions group with 4 updates by @dependabot[bot] in manugarg/pacparser#251
* Ship C sources and version.mk in the python sdist by @manugarg in manugarg/pacparser#255
* Add sdist metadata regression test and fix version sanitization by @manugarg in manugarg/pacparser#256


**Full Changelog**: https://github.com/manugarg/pacparser/compare/v1.5.1...v1.5.2</pre>
  <p>View the full release notes at <a href="https://github.com/manugarg/pacparser/releases/tag/v1.5.2">https://github.com/manugarg/pacparser/releases/tag/v1.5.2</a>.</p>
</details>
<hr>

See merge request: Harmonybrew/homebrew-core!17498
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Could you create .deb ot .rpm or any other installable file for Ubuntu?

1 participant