SHA256
1
0
forked from pool/rpmlint
rpmlint/yast-provides.diff
OBS User autobuild eaf5a8d432 Accepting request 20532 from Base:System
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
2009-09-16 16:41:21 +00:00

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: