diff options
author | Toyam Cox <Vaelatern@gmail.com> | 2016-03-27 23:19:20 -0400 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-03-28 16:27:36 +0200 |
commit | 84c4c68b88252247a518aafa3672dce9244455c7 (patch) | |
tree | 0a8dc232140972e9a91e66bde7213acd5376ebff | |
parent | 6e9db35aa2b70c8c2cd5d6be54a9ceb8f47f0244 (diff) | |
download | xtools-84c4c68b88252247a518aafa3672dce9244455c7.tar.gz xtools-84c4c68b88252247a518aafa3672dce9244455c7.tar.xz xtools-84c4c68b88252247a518aafa3672dce9244455c7.zip |
xlint: forbid special character - in version
Closes: #39 [via git-merge-pr]
-rwxr-xr-x | xlint | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlint b/xlint index 0bbcfee..a6363bc 100755 --- a/xlint +++ b/xlint @@ -149,6 +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 'replaces=(?=.*\w)[^<>]*$' "replaces needs depname with version" scan 'maintainer=(?!.*<.*@.*>).*' "maintainer needs email address" scan 'nonfree=' "use repository=nonfree" |