Skip to content

Commit 7e05224

Browse files
RedL0tusMingcongBai
authored andcommitted
fix(spiral): ignore PKGPROV entry that duplicates with PKGNAME
1 parent 04d1089 commit 7e05224

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

proc/53-spiral.sh

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ if bool "$ABSPIRAL"; then
77
if [[ "${#__AB_SONAMES[@]}" != 0 ]]; then
88
abspiral_from_sonames "${__AB_SONAMES[@]}"
99
for SPIRAL_PROV in "${__ABSPIRAL_PROVIDES_SONAMES[@]}"; do
10+
# Ignore architecture notation for duplication detection
11+
if [[ "${SPIRAL_PROV%%:*}" = "$PKGNAME" ]]; then
12+
continue
13+
fi
1014
__ABSPIRAL_PROVIDES+=("${SPIRAL_PROV}")
1115
done
1216
fi

0 commit comments

Comments
 (0)