SHA256
1
0
forked from pool/rpmlint
rpmlint/reject-env.diff

13 lines
468 B
Diff

--- TagsCheck.py
+++ TagsCheck.py
@@ -486,6 +486,9 @@
if d[0].startswith('/usr/local/'):
printError(pkg, 'invalid-dependency', d[0])
+ if d[0].startswith('/usr/bin/env'):
+ printWarning(pkg, 'invalid-dependency', d[0])
+
if not devel_depend and not is_devel and not is_source:
if FilesCheck.devel_regex.search(d[0]):
printError(pkg, 'devel-dependency', d[0])