-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rpm: fix sub-RPM post_scriptlet and add %postun support (#934)
The existing implementation of `%post` neglected to actually include the contents of the `%post` scriptlet and simply added a `%post` section to the spec file without the body, e.g. %post sub %files sub ... With this change, I've also added support for `%postun` and included the scriptlet support in the `test_golden_sub_rpm_contents` test case.
- Loading branch information
1 parent
62cc323
commit f68b1de
Showing
3 changed files
with
20 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters