forked from rpm-software-management/libdnf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add prereq_ignoreinst & regular_requires properties for pkg (RhBug:15…
…43449) Property prereq_ignoreinst of an installed pkg is used by dnf check --dependencies to get which requires_pre are safe to ignore (remove) after installation without breaking dependencies (its %pre and %post dependencies that are not used in %postun nor %preun). Property regular_requires is also needed for check --dependencies, these are requires without (%pre, %post, %postun, %preun). This is needed because any require returned from prereq_ignoreinst can be marked as safe to remove, but this is only valid in the context of requires_pre, the same require may be needed in regular requires, so it cannot be safely removed. Already present dnf_package_get_requires cannot be used because it merges regular_requires + requires_pre and therefore its not clear whether the output from prereq_ignoreinst can be applied to any specific require. https://bugzilla.redhat.com/show_bug.cgi?id=1543449
- Loading branch information
Showing
5 changed files
with
51 additions
and
4 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
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