Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion internal/ospackage/rpmutils/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,11 @@ func ResolveTopPackageConflicts(want string, all []ospackage.PackageInfo) (ospac
candidates = append(candidates, pi)
break
}
cleanName := extractBasePackageNameFromFile(pi.Name)
// Use PkgName if available, otherwise extract from filename
cleanName := pi.PkgName
if cleanName == "" {
cleanName = extractBasePackageNameFromFile(pi.Name)
}
Comment thread
yockgen marked this conversation as resolved.
Comment thread
yockgen marked this conversation as resolved.

if isGlob {
if matchPackageRequest(want, cleanName) || matchPackageRequest(want, pi.Name) {
Expand Down
Loading