forked from pool/rpmlint
Dirk Mueller
3073721c60
* rpmdiff: Teach rpmdiff about pretrans and posttrans * SpecCheck.py: merge patch from #97, using BuildArch with something else than Noarch is likely a error and causing issues. * FilesCheck.py: Add Python 3.3 magic number * FilesCheck.py, InitScriptCheck.py, MenuCheck.py, Pkg.py, PostCheck.py: Prepare for rpm-python possibly returning script progs as arrays. OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=133
14 lines
543 B
Diff
14 lines
543 B
Diff
Index: TagsCheck.py
|
|
===================================================================
|
|
--- TagsCheck.py.orig
|
|
+++ TagsCheck.py
|
|
@@ -813,7 +813,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 (x for x in obs_names if x not in prov_names):
|
|
printWarning(pkg, 'obsolete-not-provided', o)
|