Update requirements with filter option:
"mandatory": {
"enum": ["exact", "newest"]
}
1) [RPM] We need to search the newest mandatory packages in all
forest but not from the exact tree, also repo priority should
be take into account
2) Add priority to gen_repository in tests, since this is
mandatory parameter
3) [Tests] Add package10 with different version to check mandatory
values:
- None
- "exact"
- "newest"
match for mandatory packages
Change-Id: I36a1463b495075bf6c44a46b557c3ac524de0220
Closes-bug: #1585103