SHA256
1
0
forked from pool/rpmlint
rpmlint/yast-provides.diff
OBS User autobuild 7383a6345e Accepting request 17759 from Base:System
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
2009-08-21 16:19:06 +00:00

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')