about summary refs log tree commit diff
diff options
context:
space:
mode:
authorfosslinux <fosslinux@aussies.space>2020-09-05 09:06:36 +1000
committerLeah Neukirchen <leah@vuxu.org>2020-09-09 11:08:21 +0200
commit79fdecac4c9165098c376655ccf703abd2cc8db8 (patch)
tree4ab4c40833c9d6e7a2e076e293d2c08776e3aa5d
parent4134dc9deda7a057f4e34a2a53d56f486fef11c5 (diff)
downloadxtools-79fdecac4c9165098c376655ccf703abd2cc8db8.tar.gz
xtools-79fdecac4c9165098c376655ccf703abd2cc8db8.tar.xz
xtools-79fdecac4c9165098c376655ccf703abd2cc8db8.zip
xlint: deprecate noarch.
-rwxr-xr-xxlint1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlint b/xlint
index 1707fca..f247377 100755
--- a/xlint
+++ b/xlint
@@ -309,6 +309,7 @@ for argument; do
 	scan '^version="[^$]+"' "version must not be quoted"
 	scan '^reverts=.*-.*' "reverts must not contain package name"
 	scan '^reverts=(?!.*_.*).*' "reverts without revision"
+	scan 'archs=.?noarch.?' "noarch is deprecated and should no longer be used"
 	scan 'replaces=(?=.*\w)[^<>]*$' "replaces needs depname with version"
 	scan 'homepage=.*\$' "homepage should not use variables"
 	scan 'maintainer=(?!.*<.*@.*>).*' "maintainer needs email address"