forked from openSUSE/obs-build
-
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.
Recognize Recommends relations of RPMs.
When there are multiple candidate packages as a result of Provides, the current obs-build gives an error: "have choice for". However, according to http://www.rpm.org/wiki/PackagerDocs/Dependencies , Recommends tells the system to install the corresponding package unless there is a conflict; thus, if there is a package recommended (as described in issue openSUSE#302), obs-build shall install the recommended package, resolving "have choice for" error. To enable, OBS project should declare: "BuildFlags: UseRecommendsForChoices=1" or "BuildFlags: UseRecommendsForChoices" in its project config. Fixes openSUSE#302 Signed-off-by: MyungJoo Ham <[email protected]>
- Loading branch information
Showing
3 changed files
with
59 additions
and
8 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