Skip to content

fix(rpm): enable post-install scripts and fix post-uninstall logic - #307

Merged
lijy91 merged 2 commits into
fastforgedev:mainfrom
eximius313:fix/rpm-post-scripts
Jul 21, 2026
Merged

fix(rpm): enable post-install scripts and fix post-uninstall logic#307
lijy91 merged 2 commits into
fastforgedev:mainfrom
eximius313:fix/rpm-post-scripts

Conversation

@eximius313

Copy link
Copy Markdown
Contributor

Fixes #306

  • Added support for %post scripts in RPM spec generation (previously missing).
  • Fixed %postun implementation which was ignoring configuration fields due to hardcoded values.
  • Aligned configuration API with Debian packager by supporting postinstall_scripts and postuninstall_scripts lists.
  • Added backward compatibility for legacy string key (postun).

@eximius313

Copy link
Copy Markdown
Contributor Author

@lijy91 - I wanted to follow up on this PR.

Could you let me know if there's anything blocking it from being merged? If you'd prefer a different approach or there are changes you'd like to see, I'm happy to update the PR accordingly.

I'd appreciate any feedback when you have a chance. Thanks!

Kamil and others added 2 commits July 21, 2026 14:13
- Added support for `%post` scripts in RPM spec generation (previously missing).
- Fixed `%postun` implementation which was ignoring configuration fields due to hardcoded values.
- Aligned configuration API with Debian packager by supporting `postinstall_scripts` and `postuninstall_scripts` lists.
- Added backward compatibility for legacy string key (`postun`).
@lijy91
lijy91 force-pushed the fix/rpm-post-scripts branch from 2e31ffa to cc33b0d Compare July 21, 2026 06:15
@lijy91
lijy91 merged commit 1c184b0 into fastforgedev:main Jul 21, 2026
@eximius313
eximius313 deleted the fix/rpm-post-scripts branch July 21, 2026 08:46
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.

[RPM] Missing %post support and broken %postun implementation in MakeRPMConfig

2 participants