abuild: set *-pyc as noarch

the files are noarch themselves
This commit is contained in:
psykose 2023-04-18 16:36:23 +00:00
parent 0daf4ae637
commit 91e6e0b542
1 changed files with 1 additions and 1 deletions

View File

@ -597,7 +597,7 @@ subpkg_set() {
subpkgarch=${_splitarch#*:} subpkgarch=${_splitarch#*:}
if [ "$subpkgarch" = "$_splitarch" -o -z "$subpkgarch" ]; then if [ "$subpkgarch" = "$_splitarch" -o -z "$subpkgarch" ]; then
case "$subpkgname" in case "$subpkgname" in
*-doc | *-openrc | *-lang | *-lang-* | *sh-completion) subpkgarch="noarch" ;; *-doc | *-openrc | *-lang | *-lang-* | *sh-completion | *-pyc) subpkgarch="noarch" ;;
*) subpkgarch="$pkgarch" ;; *) subpkgarch="$pkgarch" ;;
esac esac
fi fi