diff options
-rwxr-xr-x | xlint | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlint b/xlint index a6363bc..64b82a4 100755 --- a/xlint +++ b/xlint @@ -149,7 +149,7 @@ for template; do scan '[\t ]$' "trailing whitespace" scan '[^\\]`' "use \$() instead of backticks" scan 'revision=0' "revision must not be zero" - scan 'version=.*[:-].*' "version must not contain the characters : or -" + scan '^version=.*[:-].*' "version must not contain the characters : or -" scan 'replaces=(?=.*\w)[^<>]*$' "replaces needs depname with version" scan 'maintainer=(?!.*<.*@.*>).*' "maintainer needs email address" scan 'nonfree=' "use repository=nonfree" |