Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade cargo-generate-rpm to support %posttrans #120

Open
ximon18 opened this issue Nov 14, 2024 · 0 comments
Open

Upgrade cargo-generate-rpm to support %posttrans #120

ximon18 opened this issue Nov 14, 2024 · 0 comments
Labels
enhancement New feature or request rpm

Comments

@ximon18
Copy link
Member

ximon18 commented Nov 14, 2024

As per https://docs.pagure.org/packaging-guidelines/Packaging%3AScriptlets.html %posttrans is the only way to change/remove content installed by a previous package (either an earlier version of the package being installed or a package that is obsoleted by the package being installed) because RPM installs the new package first and only then uninstalls the old package, but the new package gets a final chance to act in the %posttrans phase.

https://github.com/cat-in-136/cargo-generate-rpm/releases/tag/v0.14.0 added support for %posttrans but all later releases (0.14.1, 0.15.0, 0.15.1, 0.15.2) include fixes for regressions in earlier releases so we may want an even higher version - except that 0.15.0 removes support for older O/S's which might break us, need to check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request rpm
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant