rpm-rs / rpm

Other
47 stars 26 forks source link

Support for triggers #208

Open dralley opened 11 months ago

dralley commented 11 months ago

We need both read and write support (inspecting a package with them, and creating a package with them)

https://github.com/rpm-software-management/rpm/blob/master/docs/manual/triggers.md https://github.com/rpm-software-management/rpm/blob/master/docs/manual/file_triggers.md https://github.com/rpm-software-management/rpm/blob/master/docs/manual/scriptlet_expansion.md https://github.com/rpm-software-management/rpm/blob/master/docs/manual/tags.md#triggers https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/ https://rpm-packaging-guide.github.io/#triggers-and-scriptlets

Tests would be nice too. We should probably add a new specfile / rpm fixture with both triggers and various kinds of scripts.