diff options
Diffstat (limited to 'xlint')
-rwxr-xr-x | xlint | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xlint b/xlint index c8102c0..de708af 100755 --- a/xlint +++ b/xlint @@ -135,8 +135,9 @@ for template; do scan '^ ' "indent with tabs" | once scan '[\t ]$' "trailing whitespace" scan '`' "use \$() instead of backticks" - scan 'replaces=[^<>]*$' "replaces needs depname with version" - scan 'conflicts=[^<>]*$' "conflicts needs depname with version" + scan 'revision=0' "revision must not be zero" + scan 'replaces=(?=.*\w)[^<>]*$' "replaces needs depname with version" + scan 'conflicts=(?=.*\w)[^<>]*$' "conflicts needs depname with version" scan 'maintainer=(?!.*<.*@.*>).*' "maintainer needs email address" scan 'nonfree=' "use repository=nonfree" scan '^(?!\s*('"$variables"'))[^\s=-]+=' \ |