forked from pool/rpmlint
eaf5a8d432
Copy from Base:System/rpmlint based on submit request 20532 from user dirkmueller OBS-URL: https://build.opensuse.org/request/show/20532 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=46
12 lines
389 B
Diff
12 lines
389 B
Diff
--- TagsCheck.py.orig
|
|
+++ TagsCheck.py
|
|
@@ -674,7 +674,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:
|