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(-)
|
|
|
|
|
2017-09-28 13:35:09 +02:00
|
|
|
Index: rpmlint-rpmlint-1.10/TagsCheck.py
|
|
|
|
===================================================================
|
|
|
|
--- rpmlint-rpmlint-1.10.orig/TagsCheck.py
|
|
|
|
+++ rpmlint-rpmlint-1.10/TagsCheck.py
|
|
|
|
@@ -869,7 +869,7 @@ class TagsCheck(AbstractCheck.AbstractCh
|
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)
|