SHA256
1
0
forked from pool/rpmlint
rpmlint/yast-provides.diff

12 lines
348 B
Diff

--- TagsCheck.py
+++ TagsCheck.py
@@ -648,7 +648,7 @@
printWarning(pkg, 'no-url-tag')
obs=map(lambda x: x[0], pkg.obsoletes())
- provs=map(lambda x: x[0], pkg.provides())
+ provs=map(lambda x: x[0].split(':/')[0], pkg.provides())
if pkg.name in obs:
printError(pkg, 'obsolete-on-name')