2015-04-10 16:35:46 +02:00
|
|
|
From: Some One <nobody@opensuse.org>
|
|
|
|
Date: Thu, 9 Apr 2015 14:55:38 +0200
|
|
|
|
Subject: [PATCH] yast-provides.diff
|
|
|
|
|
2010-04-28 22:41:49 +02:00
|
|
|
===================================================================
|
2015-04-10 16:35:46 +02:00
|
|
|
---
|
|
|
|
TagsCheck.py | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/TagsCheck.py b/TagsCheck.py
|
2015-11-26 11:24:13 +01:00
|
|
|
index e161aec..dd09e62 100644
|
2015-04-10 16:35:46 +02:00
|
|
|
--- a/TagsCheck.py
|
|
|
|
+++ b/TagsCheck.py
|
2015-11-26 11:24:13 +01:00
|
|
|
@@ -824,7 +824,7 @@ class TagsCheck(AbstractCheck.AbstractCheck):
|
2010-04-01 16:20:38 +02:00
|
|
|
printWarning(pkg, 'no-url-tag')
|
2008-04-17 04:52:37 +02:00
|
|
|
|
2009-08-21 18:19:06 +02:00
|
|
|
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()]
|
2008-04-17 04:52:37 +02:00
|
|
|
|
2010-10-14 14:32:03 +02:00
|
|
|
for o in (x for x in obs_names if x not in prov_names):
|
|
|
|
printWarning(pkg, 'obsolete-not-provided', o)
|