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

14 lines
485 B
Diff
Raw Normal View History

Index: TagsCheck.py
===================================================================
--- TagsCheck.py.orig
+++ TagsCheck.py
@@ -774,7 +774,7 @@ class TagsCheck(AbstractCheck.AbstractCh
printWarning(pkg, 'no-url-tag')
obs_names = [x[0] for x in pkg.obsoletes()]
- prov_names = [x[0] for x in pkg.provides()]
+ prov_names = [x[0].split(':/')[0] for x in pkg.provides()]
for o in obs_names:
if o not in prov_names: