mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-02-08 23:47:23 +00:00
abuild: set *-pyc as noarch
the files are noarch themselves
This commit is contained in:
parent
0daf4ae637
commit
91e6e0b542
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user