SHA256
1
0
forked from pool/rpmlint
rpmlint/yast-provides.diff
OBS User autobuild 698597df8c Accepting request 36612 from Base:System
Copy from Base:System/rpmlint based on submit request 36612 from user dirkmueller

OBS-URL: https://build.opensuse.org/request/show/36612
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=55
2010-04-01 14:20:38 +00:00

12 lines
351 B
Diff

--- TagsCheck.py
+++ TagsCheck.py
@@ -739,7 +739,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()]
for o in obs_names:
if o not in prov_names: