forked from pool/rpmlint
7383a6345e
Copy from Base:System/rpmlint based on submit request 17759 from user thomasbiege OBS-URL: https://build.opensuse.org/request/show/17759 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=43
12 lines
361 B
Diff
12 lines
361 B
Diff
--- TagsCheck.py
|
|
+++ TagsCheck.py
|
|
@@ -669,7 +669,7 @@
|
|
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()]
|
|
|
|
if pkg.name in obs_names:
|
|
printError(pkg, 'obsolete-on-name')
|