Skip to content

Commit

Permalink
[lib] annocheck: Map el10 product release to the corresponding profile
Browse files Browse the repository at this point in the history
The latest annobin release already supports el10.

Signed-off-by: Michal Srb <michal@redhat.com>
  • Loading branch information
msrb authored and dcantrell committed Apr 11, 2024
1 parent 48bd0e4 commit 0afd052
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/inspect_annocheck.c
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,8 @@ bool inspect_annocheck(struct rpminspect *ri)
annocheck_profile = "el8";
} else if (strprefix(ri->product_release, "el9")) {
annocheck_profile = "el9";
} else if (strprefix(ri->product_release, "el10")) {
annocheck_profile = "el10";
} else if (strprefix(ri->product_release, "fc") || !strcmp(ri->product_release, "rawhide")) {
annocheck_profile = "rawhide";
}
Expand Down

0 comments on commit 0afd052

Please sign in to comment.